Click or drag to resize

PlaceholderItem Methods

IT Hit User File System

The PlaceholderItem type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleConvertToPlaceholder(String, Boolean)
Converts a normal file or folder to a placeholder file or folder.
Public methodStatic memberConvertToPlaceholder(SafeFileHandle, Byte, Boolean)
Converts a normal file or folder to a placeholder file or folder by handle.
Public methodStatic memberConvertToPlaceholder(String, Byte, Boolean)
Converts a normal file or folder to a placeholder file or folder.
Protected methodStatic memberConvertToPlaceholder(SafeFileHandle, Byte, Boolean, Boolean)
Converts a normal file/directory to a placeholder file/directory by handle.
Protected methodStatic memberConvertToPlaceholder(String, Byte, Boolean, Boolean)
Converts a normal file or folder to a placeholder file or folder.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCustomData
Gets custom data associated with the placeholder.
Public methodStatic memberGetCustomData(SafeFileHandle)
Gets custom data associated with the placeholder by handle.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInSync
Gets in-sync state of the placeholder.
Public methodStatic memberGetInSync(SafeFileHandle)
Gets in-sync status of the placeholder using item handle.
Public methodStatic memberGetItem
Gets placeholder file or folder that corresponds to the path.
Public methodGetState
Gets placeholder state.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberCode exampleIsPlaceholder
Determines if the file or folder path represents a placeholder or a regular file/folder.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodStatic memberProcessWin32Exception
Processes Win32 exception native error and throws IOException.
Public methodSetCustomData(Byte)
Sets custom data associated with the placeholder. Max 4Kb.
Public methodStatic memberSetCustomData(SafeFileHandle, Byte)
Sets custom data associated with the placeholder by handle. Max 4Kb.
Public methodSetInSync(Boolean)
Marks the placeholder file as in sync or not in sync.
Public methodStatic memberSetInSync(SafeFileHandle, Boolean)
Marks the placeholder file as in-sync or not in-sync using item handle.
Public methodCode exampleSetItemInfo
Updates placeholder file or folder information. Automatically hydrates and dehydrates files.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also