ShellItem Methods |
The ShellItem type exposes the following members.
| Name | Description | |
|---|---|---|
| CommitProperties |
Commits the property store.
| |
| CreatePropertyStore |
Creates the property store instance.
| |
| 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.
| |
| 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.
| |
| GetPropertyValueT(PropertyKey, T) |
Gets a typed property key value.
| |
| GetPropertyValueT(PropertyKey, FuncT) |
Gets a typed property key value.
| |
| 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.
| |
| 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 ObjectToString.) | |
| 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.
| |
| TryGetPropertyValueT(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(ActionIntPtr) | Overloaded.
Allocates a buffer, runs the specified action and free the buffer.
(Defined by Extensions.) | |
| WithPointerT(FuncIntPtr, T) | Overloaded.
Allocates a buffer, runs the specified function and free the buffer.
(Defined by Extensions.) |