Class FileInfo
public class FileInfo
- Inheritance
-
FileInfo
- Inherited Members
Methods
ClearStatus(IntPtr)
Calls native method g_file_info_clear_status.
public static extern void ClearStatus(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
CopyInto(IntPtr, IntPtr)
Calls native method g_file_info_copy_into.
public static extern void CopyInto(IntPtr srcInfo, IntPtr destInfo)
Parameters
srcInfo
IntPtrTransfer ownership: None Nullable: False
destInfo
IntPtrTransfer ownership: None Nullable: False
Dup(IntPtr)
Calls native method g_file_info_dup.
public static extern IntPtr Dup(IntPtr other)
Parameters
other
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
GetAccessDateTime(IntPtr)
Calls native method g_file_info_get_access_date_time. Version: 2.70
[Version("2.70")]
public static extern DateTimeOwnedHandle GetAccessDateTime(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- DateTimeOwnedHandle
Transfer ownership: Full Nullable: True
GetAttributeAsString(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_as_string.
public static extern NullableUtf8StringOwnedHandle GetAttributeAsString(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
GetAttributeBoolean(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_boolean.
public static extern bool GetAttributeBoolean(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetAttributeByteString(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_byte_string.
public static extern NullableUtf8StringUnownedHandle GetAttributeByteString(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetAttributeData(IntPtr, NonNullableUtf8StringHandle, out IntPtr, out IntPtr, out IntPtr)
Calls native method g_file_info_get_attribute_data.
public static extern bool GetAttributeData(IntPtr info, NonNullableUtf8StringHandle attribute, out IntPtr type, out IntPtr valuePp, out IntPtr status)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
type
IntPtrTransfer ownership: Full Nullable: False
valuePp
IntPtrTransfer ownership: Full Nullable: False
status
IntPtrTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetAttributeFilePath(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_file_path. Version: 2.78
[Version("2.78")]
public static extern NullablePlatformStringUnownedHandle GetAttributeFilePath(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: True
GetAttributeInt32(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_int32.
public static extern int GetAttributeInt32(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetAttributeInt64(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_int64.
public static extern long GetAttributeInt64(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- long
Transfer ownership: None Nullable: False
GetAttributeObject(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_object.
public static extern IntPtr GetAttributeObject(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetAttributeStatus(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_status.
public static extern FileAttributeStatus GetAttributeStatus(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- FileAttributeStatus
Transfer ownership: None Nullable: False
GetAttributeString(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_string.
public static extern NullableUtf8StringUnownedHandle GetAttributeString(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetAttributeStringv(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_stringv. Version: 2.22
[Version("2.22")]
public static extern Utf8StringArrayNullTerminatedUnownedHandle GetAttributeStringv(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: True
GetAttributeType(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_type.
public static extern FileAttributeType GetAttributeType(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- FileAttributeType
Transfer ownership: None Nullable: False
GetAttributeUint32(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_uint32.
public static extern uint GetAttributeUint32(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
GetAttributeUint64(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_get_attribute_uint64.
public static extern ulong GetAttributeUint64(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
GetContentType(IntPtr)
Calls native method g_file_info_get_content_type.
public static extern NullableUtf8StringUnownedHandle GetContentType(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetCreationDateTime(IntPtr)
Calls native method g_file_info_get_creation_date_time. Version: 2.70
[Version("2.70")]
public static extern DateTimeOwnedHandle GetCreationDateTime(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- DateTimeOwnedHandle
Transfer ownership: Full Nullable: True
GetDeletionDate(IntPtr)
Calls native method g_file_info_get_deletion_date. Version: 2.36
[Version("2.36")]
public static extern DateTimeOwnedHandle GetDeletionDate(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- DateTimeOwnedHandle
Transfer ownership: Full Nullable: True
GetDisplayName(IntPtr)
Calls native method g_file_info_get_display_name.
public static extern NonNullableUtf8StringUnownedHandle GetDisplayName(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetEditName(IntPtr)
Calls native method g_file_info_get_edit_name.
public static extern NonNullableUtf8StringUnownedHandle GetEditName(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetEtag(IntPtr)
Calls native method g_file_info_get_etag.
public static extern NullableUtf8StringUnownedHandle GetEtag(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetFileType(IntPtr)
Calls native method g_file_info_get_file_type.
public static extern FileType GetFileType(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- FileType
Transfer ownership: None Nullable: False
GetGType()
Calls native function g_file_info_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetIcon(IntPtr)
Calls native method g_file_info_get_icon.
public static extern IntPtr GetIcon(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetIsBackup(IntPtr)
Calls native method g_file_info_get_is_backup.
public static extern bool GetIsBackup(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsHidden(IntPtr)
Calls native method g_file_info_get_is_hidden.
public static extern bool GetIsHidden(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsSymlink(IntPtr)
Calls native method g_file_info_get_is_symlink.
public static extern bool GetIsSymlink(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetModificationDateTime(IntPtr)
Calls native method g_file_info_get_modification_date_time. Version: 2.62
[Version("2.62")]
public static extern DateTimeOwnedHandle GetModificationDateTime(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- DateTimeOwnedHandle
Transfer ownership: Full Nullable: True
GetModificationTime(IntPtr, TimeValOwnedHandle)
Calls native method g_file_info_get_modification_time.
public static extern void GetModificationTime(IntPtr info, TimeValOwnedHandle result)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
result
TimeValOwnedHandleTransfer ownership: None Nullable: False
GetName(IntPtr)
Calls native method g_file_info_get_name.
public static extern NonNullablePlatformStringUnownedHandle GetName(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
GetSize(IntPtr)
Calls native method g_file_info_get_size.
public static extern long GetSize(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- long
Transfer ownership: None Nullable: False
GetSortOrder(IntPtr)
Calls native method g_file_info_get_sort_order.
public static extern int GetSortOrder(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetSymbolicIcon(IntPtr)
Calls native method g_file_info_get_symbolic_icon. Version: 2.34
[Version("2.34")]
public static extern IntPtr GetSymbolicIcon(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetSymlinkTarget(IntPtr)
Calls native method g_file_info_get_symlink_target.
public static extern NullablePlatformStringUnownedHandle GetSymlinkTarget(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: True
HasAttribute(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_has_attribute.
public static extern bool HasAttribute(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
HasNamespace(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_has_namespace. Version: 2.22
[Version("2.22")]
public static extern bool HasNamespace(IntPtr info, NonNullableUtf8StringHandle nameSpace)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
nameSpace
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ListAttributes(IntPtr, NullableUtf8StringHandle)
Calls native method g_file_info_list_attributes.
public static extern Utf8StringArrayNullTerminatedOwnedHandle ListAttributes(IntPtr info, NullableUtf8StringHandle nameSpace)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
nameSpace
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: True
New()
Calls native constructor g_file_info_new.
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RemoveAttribute(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_remove_attribute.
public static extern void RemoveAttribute(IntPtr info, NonNullableUtf8StringHandle attribute)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetAccessDateTime(IntPtr, DateTimeHandle)
Calls native method g_file_info_set_access_date_time. Version: 2.70
[Version("2.70")]
public static extern void SetAccessDateTime(IntPtr info, DateTimeHandle atime)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
atime
DateTimeHandleTransfer ownership: None Nullable: False
SetAttribute(IntPtr, NonNullableUtf8StringHandle, FileAttributeType, IntPtr)
Calls native method g_file_info_set_attribute.
public static extern void SetAttribute(IntPtr info, NonNullableUtf8StringHandle attribute, FileAttributeType type, IntPtr valueP)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
type
FileAttributeTypeTransfer ownership: None Nullable: False
valueP
IntPtrTransfer ownership: None Nullable: False
SetAttributeBoolean(IntPtr, NonNullableUtf8StringHandle, bool)
Calls native method g_file_info_set_attribute_boolean.
public static extern void SetAttributeBoolean(IntPtr info, NonNullableUtf8StringHandle attribute, bool attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
boolTransfer ownership: None Nullable: False
SetAttributeByteString(IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method g_file_info_set_attribute_byte_string.
public static extern void SetAttributeByteString(IntPtr info, NonNullableUtf8StringHandle attribute, NonNullableUtf8StringHandle attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetAttributeFilePath(IntPtr, NonNullableUtf8StringHandle, NonNullablePlatformStringHandle)
Calls native method g_file_info_set_attribute_file_path. Version: 2.78
[Version("2.78")]
public static extern void SetAttributeFilePath(IntPtr info, NonNullableUtf8StringHandle attribute, NonNullablePlatformStringHandle attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
SetAttributeInt32(IntPtr, NonNullableUtf8StringHandle, int)
Calls native method g_file_info_set_attribute_int32.
public static extern void SetAttributeInt32(IntPtr info, NonNullableUtf8StringHandle attribute, int attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
intTransfer ownership: None Nullable: False
SetAttributeInt64(IntPtr, NonNullableUtf8StringHandle, long)
Calls native method g_file_info_set_attribute_int64.
public static extern void SetAttributeInt64(IntPtr info, NonNullableUtf8StringHandle attribute, long attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
longTransfer ownership: None Nullable: False
SetAttributeMask(IntPtr, FileAttributeMatcherHandle)
Calls native method g_file_info_set_attribute_mask.
public static extern void SetAttributeMask(IntPtr info, FileAttributeMatcherHandle mask)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
mask
FileAttributeMatcherHandleTransfer ownership: None Nullable: False
SetAttributeObject(IntPtr, NonNullableUtf8StringHandle, IntPtr)
Calls native method g_file_info_set_attribute_object.
public static extern void SetAttributeObject(IntPtr info, NonNullableUtf8StringHandle attribute, IntPtr attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
IntPtrTransfer ownership: None Nullable: False
SetAttributeStatus(IntPtr, NonNullableUtf8StringHandle, FileAttributeStatus)
Calls native method g_file_info_set_attribute_status. Version: 2.22
[Version("2.22")]
public static extern bool SetAttributeStatus(IntPtr info, NonNullableUtf8StringHandle attribute, FileAttributeStatus status)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
status
FileAttributeStatusTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetAttributeString(IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method g_file_info_set_attribute_string.
public static extern void SetAttributeString(IntPtr info, NonNullableUtf8StringHandle attribute, NonNullableUtf8StringHandle attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetAttributeStringv(IntPtr, NonNullableUtf8StringHandle, Utf8StringArrayNullTerminatedHandle)
Calls native method g_file_info_set_attribute_stringv.
public static extern void SetAttributeStringv(IntPtr info, NonNullableUtf8StringHandle attribute, Utf8StringArrayNullTerminatedHandle attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
SetAttributeUint32(IntPtr, NonNullableUtf8StringHandle, uint)
Calls native method g_file_info_set_attribute_uint32.
public static extern void SetAttributeUint32(IntPtr info, NonNullableUtf8StringHandle attribute, uint attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
uintTransfer ownership: None Nullable: False
SetAttributeUint64(IntPtr, NonNullableUtf8StringHandle, ulong)
Calls native method g_file_info_set_attribute_uint64.
public static extern void SetAttributeUint64(IntPtr info, NonNullableUtf8StringHandle attribute, ulong attrValue)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
attribute
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
attrValue
ulongTransfer ownership: None Nullable: False
SetContentType(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_set_content_type.
public static extern void SetContentType(IntPtr info, NonNullableUtf8StringHandle contentType)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
contentType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetCreationDateTime(IntPtr, DateTimeHandle)
Calls native method g_file_info_set_creation_date_time. Version: 2.70
[Version("2.70")]
public static extern void SetCreationDateTime(IntPtr info, DateTimeHandle creationTime)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
creationTime
DateTimeHandleTransfer ownership: None Nullable: False
SetDisplayName(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_set_display_name.
public static extern void SetDisplayName(IntPtr info, NonNullableUtf8StringHandle displayName)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
displayName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetEditName(IntPtr, NonNullableUtf8StringHandle)
Calls native method g_file_info_set_edit_name.
public static extern void SetEditName(IntPtr info, NonNullableUtf8StringHandle editName)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
editName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetFileType(IntPtr, FileType)
Calls native method g_file_info_set_file_type.
public static extern void SetFileType(IntPtr info, FileType type)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
type
FileTypeTransfer ownership: None Nullable: False
SetIcon(IntPtr, IntPtr)
Calls native method g_file_info_set_icon.
public static extern void SetIcon(IntPtr info, IntPtr icon)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
icon
IntPtrTransfer ownership: None Nullable: False
SetIsHidden(IntPtr, bool)
Calls native method g_file_info_set_is_hidden.
public static extern void SetIsHidden(IntPtr info, bool isHidden)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
isHidden
boolTransfer ownership: None Nullable: False
SetIsSymlink(IntPtr, bool)
Calls native method g_file_info_set_is_symlink.
public static extern void SetIsSymlink(IntPtr info, bool isSymlink)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
isSymlink
boolTransfer ownership: None Nullable: False
SetModificationDateTime(IntPtr, DateTimeHandle)
Calls native method g_file_info_set_modification_date_time. Version: 2.62
[Version("2.62")]
public static extern void SetModificationDateTime(IntPtr info, DateTimeHandle mtime)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
mtime
DateTimeHandleTransfer ownership: None Nullable: False
SetModificationTime(IntPtr, TimeValHandle)
Calls native method g_file_info_set_modification_time.
public static extern void SetModificationTime(IntPtr info, TimeValHandle mtime)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
mtime
TimeValHandleTransfer ownership: None Nullable: False
SetName(IntPtr, NonNullablePlatformStringHandle)
Calls native method g_file_info_set_name.
public static extern void SetName(IntPtr info, NonNullablePlatformStringHandle name)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
name
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
SetSize(IntPtr, long)
Calls native method g_file_info_set_size.
public static extern void SetSize(IntPtr info, long size)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
size
longTransfer ownership: None Nullable: False
SetSortOrder(IntPtr, int)
Calls native method g_file_info_set_sort_order.
public static extern void SetSortOrder(IntPtr info, int sortOrder)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
sortOrder
intTransfer ownership: None Nullable: False
SetSymbolicIcon(IntPtr, IntPtr)
Calls native method g_file_info_set_symbolic_icon. Version: 2.34
[Version("2.34")]
public static extern void SetSymbolicIcon(IntPtr info, IntPtr icon)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
icon
IntPtrTransfer ownership: None Nullable: False
SetSymlinkTarget(IntPtr, NonNullablePlatformStringHandle)
Calls native method g_file_info_set_symlink_target.
public static extern void SetSymlinkTarget(IntPtr info, NonNullablePlatformStringHandle symlinkTarget)
Parameters
info
IntPtrTransfer ownership: None Nullable: False
symlinkTarget
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
UnsetAttributeMask(IntPtr)
Calls native method g_file_info_unset_attribute_mask.
public static extern void UnsetAttributeMask(IntPtr info)
Parameters
info
IntPtrTransfer ownership: None Nullable: False