Click or drag to resize

PlaceholderItem Class

IT Hit User File System
Represents a placeholder file or placeholder folder in user file system.
Inheritance Hierarchy

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 3.3.9602.0
Syntax
public abstract class PlaceholderItem

The PlaceholderItem type exposes the following members.

Constructors
  NameDescription
Protected methodPlaceholderItem
Creates instance of this class.
Top
Methods
  NameDescription
Public methodStatic memberCode exampleConvertToPlaceholder(String, Boolean)
Converts a normal file or folder to a placeholder file or folder.
Public methodStatic memberConvertToPlaceholder(String, Byte, Byte, Boolean)
Converts a normal file or folder to a placeholder file or folder.
Protected methodStatic memberConvertToPlaceholder(String, Byte, Byte, Boolean, Boolean)
Converts a normal file or folder to a placeholder file or folder.
Protected methodStatic memberConvertToPlaceholder(SafeFileHandle, FileSystemItemType, Byte, Byte, Boolean, Boolean)
Converts a normal file/directory to a placeholder file/directory by handle.
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 methodGetItemId
Gets item ID associated with the placeholder.
Public methodStatic memberGetItemId(SafeFileHandle)
Gets item ID associated with the placeholder by handle.
Public methodGetState
Gets placeholder state.
Public methodStatic memberGetState(SafeFileHandle)
Gets placeholder state by handle.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsPinned
Returns true if item is pinned. False - otherwise.
Public methodStatic memberCode exampleIsPlaceholder(SafeFileHandle)
Determines if the file or folder path represents a placeholder or a regular file/folder by handle.
Public methodStatic memberCode exampleIsPlaceholder(String)
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 methodRevertPlaceholder
Reverts a placeholder back to a regular file or folder.
Protected methodStatic memberRevertPlaceholder(SafeFileHandle)
Reverts a placeholder back to a regular file by handle.
Public methodSetCustomData
Sets custom data associated with the placeholder.
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 methodSetItemId
Sets item ID associated with the placeholder.
Public methodCode exampleSetMetadata
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
Fields
  NameDescription
Public fieldPath
Path of this placeholder in user file system.
Top
See Also