共用方式為


DocData.ItemId Property

Gets the Item ID that is assigned to the document.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'宣告
Public ReadOnly Property ItemId As UInteger
    Get
public uint ItemId { get; }
public:
property unsigned int ItemId {
    unsigned int get ();
}
member ItemId : uint32
function get ItemId () : uint

Property Value

Type: System.UInt32
The Item ID that is assigned to the document.

Remarks

The Item ID identifies the document in the hierarchy.

This property implements the IVsHierarchy interface.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace