IRequireClasses::GetRequiredClasses Method (UInt32, Guid)

 

Retrieves the CLSID of a requested required class.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetRequiredClasses(
	unsigned int index,
	Guid% pclsid
)

Parameters

index
Type: System::UInt32

[in] Index of the class to retrieve.

pclsid
Type: System::Guid

[out] The CLSID of the requested class.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From objext.idl:

[C++]

HRESULT IRequireClasses::GetRequiredClasses(
   [in] ULONG index, CLSID* pclsid
);
Return to top
Show: