共用方式為


IPersistFileFormat.GetClassID(Guid) Method

Definition

public:
 int GetClassID([Runtime::InteropServices::Out] Guid % pClassID);
public int GetClassID (out Guid pClassID);
abstract member GetClassID : Guid -> int
Public Function GetClassID (ByRef pClassID As Guid) As Integer

Parameters

pClassID
Guid

[out] Points to the location of the CLSID on return. The CLSID is a globally unique identifier (GUID) that uniquely represents an object class that defines the code that can manipulate the object's data.

Returns

Implements

Remarks

The GetClassID method retrieves the class identifier (CLSID) for an object, used in later operations to load object-specific code into the caller's context.

Applies to