ShellItem Methods |
The ShellItem type exposes the following members.
Name | Description | |
---|---|---|
![]() | CommitProperties |
Commits the property store.
|
![]() | CreatePropertyStore |
Creates the property store instance.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FreezePropertyStore |
Freezes the property store.
The property store can be frozen when a client asks for the property store as a whole.
Overriding this method allows you to add properties to the frozen store.
|
![]() | GetContent |
Gets the content of this item.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetNullifiedPropertyValue(PropertyKey) |
Gets a string property key value. The string will be trimmed and converted to null if its length is 0.
|
![]() | GetNullifiedPropertyValue(PropertyKey, String) |
Gets a string property key value. The string will be trimmed and converted to the default value if its length is 0.
|
![]() | GetNullifiedPropertyValue(PropertyKey, IFormatProvider, String) |
Gets a string property key value. The string will be trimmed and converted to the default value if its length is 0.
|
![]() | GetPropertyIndex |
Gets a property key index from this item's property store.
|
![]() | GetPropertyValue(PropertyKey, Object) |
Gets a property key value.
|
![]() | GetPropertyValue<T>(PropertyKey, T) |
Gets a typed property key value.
|
![]() | GetPropertyValue<T>(PropertyKey, Func<T>) |
Gets a typed property key value.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUri |
Gets the URI corresponding to this item.
|
![]() | HandleFileSystemSFGAO |
Handles flags for File System Shell item.
|
![]() | Initialize |
Initializes this instance.
|
![]() | InitializeFileSystem |
Initializes the file system. Called when the FileSystemPath property is set.
|
![]() | IsPropertyWritable |
Determines whether the specified property key value is writable, from this item's property store.
|
![]() | MapContextMenuCommand |
Maps a context menu command.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MergeContextMenu |
Allows to add items to context menu.
|
![]() | MergeContextMenuBottom |
Allows to add items to the bottom of the context menu.
|
![]() | MergeContextMenuTop |
Allows to add items to the top of the context menu.
|
![]() | MergeViewMenu |
Merges a view menu.
|
![]() | ModifyContextMenuFlags |
The Shell is calling this method to ask for context menu flags modification.
|
![]() | NotifyAttributes |
Notifies the Windows Shell that this item attributes have changed.
|
![]() | NotifyCreate |
Notifies the Windows Shell that this item has been created.
|
![]() | NotifyDelete |
Notifies the Windows Shell that this item has been deleted.
|
![]() | NotifyRename(ShellItemId) |
Notifies the Windows Shell that this item has been renamed.
|
![]() | NotifyRename(ShellItemIdList) |
Notifies the Windows Shell that this item has been renamed.
|
![]() | NotifyUpdate |
Notifies the Windows Shell that this item has been updated.
|
![]() | OnAssociationElementListChanged |
Called when the AssociationElementList changes.
|
![]() | OnDragDropTarget |
Called on drag and drop events.
|
![]() | OnMenuInvoke |
Called when a menu is invoked.
|
![]() | RefreshShellViews() |
Refreshes all shell views.
|
![]() | RefreshShellViews(RefreshViewsOptions) |
Refreshes the shell views with options.
|
![]() | ResetShellThumbnail |
Resets the Windows Explorer thumbnail cache.
|
![]() | SetPropertyValue(PropertyDescription, Object) |
Sets a property value to this item's property store.
|
![]() | SetPropertyValue(PropertyKey, Object) |
Sets a property key value to this item's property store.
|
![]() | ShowDefaultContextMenu |
Determines if the default context menu should be shown.
|
![]() | ToString |
Returns a String that represents this instance.
(Overrides Object.ToString().) |
![]() | TryCompare(ShellItem, ShellFolderColumn, CompareIdReturnValue) |
Compares this instance column with another.
|
![]() | TryCompare(ShellItem, SHCIDS, CompareIdReturnValue) |
Compares this instance with another.
|
![]() | TryCompareAllFields |
Compares this instance all columns with another.
|
![]() | TryGetContent |
Gets the content of this item.
|
![]() | TryGetFileSystemValue |
Gets a property key value in the case of a File System Shell item.
|
![]() | TryGetPropertyAt |
Gets the property key at a given index, from this item's property store.
|
![]() | TryGetPropertyValue(PropertyKey, Object) |
Gets a property key value.
|
![]() | TryGetPropertyValue<T>(PropertyKey, T, IFormatProvider) |
Gets a property key value and convert it to the expected type if needed.
|
![]() | UnmergeViewMenu |
Unmerges the view menu.
|
Name | Description | |
---|---|---|
![]() | OpenView |
Opens a Windows Explorer window.
(Defined by Extensions.) |
![]() | WithPointer(Action<IntPtr>) | Overloaded.
Allocates a buffer, runs the specified action and free the buffer.
(Defined by Extensions.) |
![]() | WithPointer<T>(Func<IntPtr, T>) | Overloaded.
Allocates a buffer, runs the specified function and free the buffer.
(Defined by Extensions.) |