HierarchyNode.StateIconIndex Property
Gets the source code control state icon for a file.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable ReadOnly Property StateIconIndex As VsStateIcon
'使用
Dim instance As HierarchyNode
Dim value As VsStateIcon
value = instance.StateIconIndex
public virtual VsStateIcon StateIconIndex { get; }
public:
virtual property VsStateIcon StateIconIndex {
VsStateIcon get ();
}
public function get StateIconIndex () : VsStateIcon
Property Value
Type: Microsoft.VisualStudio.Shell.Interop.VsStateIcon
If the file is not in source code control, returns STATEICON_NOSTATEICON; otherwise, gets the icon from the source code control manager.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.