DocData.GetClassID Method
Gets the GUID of the editor factory that created the document.
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 Function GetClassID ( _
<OutAttribute> ByRef classId As Guid _
) As Integer
public int GetClassID(
out Guid classId
)
public:
virtual int GetClassID(
[OutAttribute] Guid% classId
) sealed
abstract GetClassID :
classId:Guid byref -> int
override GetClassID :
classId:Guid byref -> int
public final function GetClassID(
classId : Guid
) : int
Parameters
classId
Type: Guid%The GUID of the editor factory that created the document.
Return Value
Type: Int32
S_OK if the method succeeds; otherwise, it returns an error code.
Implements
Remarks
The editor factory GUID implements GetGuidEditorType.
.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.