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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public ReadOnly Property Cookie As UInteger
public uint Cookie { get; }
public:
property unsigned int Cookie {
unsigned int get ();
}
member Cookie : uint32 with get
function get Cookie () : uint
Property Value
Type: UInt32
The cookie that identifies the document in the Running Documents table.
Remarks
The cookie is the handle for the document.
.NET Framework Security
- 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.