IPersistFile.GetClassID Method (Guid)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves the class identifier (CLSID) of an object.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

void GetClassID(
	out Guid pClassID


Type: System.Guid

When this method returns, contains a reference to the CLSID. This parameter is passed uninitialized.

For more information, see the existing documentation for IPersist::GetClassID in the MSDN library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top