共用方式為


DocData.Cookie Property

Gets the cookie that identifies the document in the Running Documents table.

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 Cookie As UInteger
    Get
public uint Cookie { get; }
public:
property unsigned int Cookie {
    unsigned int get ();
}
member Cookie : uint32
function get Cookie () : uint

Property Value

Type: System.UInt32
The cookie that identifies the document in the Running Documents table.

Remarks

The cookie is the handle for the document.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace