DocData.IPersistFileFormat.GetClassID Method
Gets the class ID of the editor factory that created 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
'宣言
Private Function GetClassID ( _
<OutAttribute> ByRef classId As Guid _
) As Integer Implements IPersistFileFormat.GetClassID
int IPersistFileFormat.GetClassID(
out Guid classId
)
private:
virtual int GetClassID(
[OutAttribute] Guid% classId
) sealed = IPersistFileFormat::GetClassID
private abstract GetClassID :
classId:Guid byref -> int
private override GetClassID :
classId:Guid byref -> int
JScript does not support explicit interface implementations.
Parameters
- classId
Type: System.Guid%
Returns the GUID of the editor factory.
Return Value
Type: System.Int32
Implements
IPersistFileFormat.GetClassID(Guid%)
.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.