Click or drag to resize

ShellItem Methods

The ShellItem type exposes the following members.

Methods
  NameDescription
Public methodCommitProperties
Commits the property store.
Protected methodCreatePropertyStore
Creates the property store instance.
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.)
Protected methodFreezePropertyStore
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.
Public methodGetContent
Gets the content of this item.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNullifiedPropertyValue(PropertyKey)
Gets a string property key value. The string will be trimmed and converted to null if its length is 0.
Public methodGetNullifiedPropertyValue(PropertyKey, String)
Gets a string property key value. The string will be trimmed and converted to the default value if its length is 0.
Public methodGetNullifiedPropertyValue(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.
Public methodGetPropertyIndex
Gets a property key index from this item's property store.
Public methodGetPropertyValue(PropertyKey, Object)
Gets a property key value.
Public methodGetPropertyValueT(PropertyKey, T)
Gets a typed property key value.
Public methodGetPropertyValueT(PropertyKey, FuncT)
Gets a typed property key value.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUri
Gets the URI corresponding to this item.
Protected methodHandleFileSystemSFGAO
Handles flags for File System Shell item.
Protected methodInitialize
Initializes this instance.
Protected methodInitializeFileSystem
Initializes the file system. Called when the FileSystemPath property is set.
Public methodIsPropertyWritable
Determines whether the specified property key value is writable, from this item's property store.
Protected methodMapContextMenuCommand
Maps a context menu command.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMergeContextMenu
Allows to add items to context menu.
Protected methodMergeContextMenuBottom
Allows to add items to the bottom of the context menu.
Protected methodMergeContextMenuTop
Allows to add items to the top of the context menu.
Protected methodMergeViewMenu
Merges a view menu.
Protected methodModifyContextMenuFlags
The Shell is calling this method to ask for context menu flags modification.
Public methodNotifyAttributes
Notifies the Windows Shell that this item attributes have changed.
Public methodNotifyCreate
Notifies the Windows Shell that this item has been created.
Public methodNotifyDelete
Notifies the Windows Shell that this item has been deleted.
Public methodNotifyRename(ShellItemId)
Notifies the Windows Shell that this item has been renamed.
Public methodNotifyRename(ShellItemIdList)
Notifies the Windows Shell that this item has been renamed.
Public methodNotifyUpdate
Notifies the Windows Shell that this item has been updated.
Protected methodOnAssociationElementListChanged
Called when the AssociationElementList changes.
Protected methodOnDragDropTarget
Called on drag and drop events.
Protected methodOnMenuInvoke
Called when a menu is invoked.
Public methodRefreshShellViews
Refreshes all shell views.
Public methodRefreshShellViews(RefreshViewsOptions)
Refreshes the shell views with options.
Public methodResetShellThumbnail
Resets the Windows Explorer thumbnail cache.
Public methodSetPropertyValue(PropertyDescription, Object)
Sets a property value to this item's property store.
Public methodSetPropertyValue(PropertyKey, Object)
Sets a property key value to this item's property store.
Protected methodShowDefaultContextMenu
Determines if the default context menu should be shown.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Protected methodTryCompare(ShellItem, ShellFolderColumn, CompareIdReturnValue)
Compares this instance column with another.
Public methodTryCompare(ShellItem, SHCIDS, CompareIdReturnValue)
Compares this instance with another.
Protected methodTryCompareAllFields
Compares this instance all columns with another.
Public methodTryGetContent
Gets the content of this item.
Protected methodTryGetFileSystemValue
Gets a property key value in the case of a File System Shell item.
Public methodTryGetPropertyAt
Gets the property key at a given index, from this item's property store.
Public methodTryGetPropertyValue(PropertyKey, Object)
Gets a property key value.
Public methodTryGetPropertyValueT(PropertyKey, T, IFormatProvider)
Gets a property key value and convert it to the expected type if needed.
Protected methodUnmergeViewMenu
Unmerges the view menu.
Top
Extension Methods
See Also