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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
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

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace