Share via


IRequireClasses.GetRequiredClasses Method

Retrieves the CLSID of a requested required class.

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

Syntax

'Declaration
Function GetRequiredClasses ( _
    index As UInteger, _
    ByRef pclsid As Guid _
) As Integer
int GetRequiredClasses(
    uint index,
    ref Guid pclsid
)
int GetRequiredClasses(
    [InAttribute] unsigned int index, 
    Guid% pclsid
)
abstract GetRequiredClasses : 
        index:uint32 * 
        pclsid:Guid byref -> int 
function GetRequiredClasses(
    index : uint, 
    pclsid : Guid
) : int

Parameters

  • 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.

Remarks

COM Signature

From objext.idl:

[C++]

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

.NET Framework Security

See Also

Reference

IRequireClasses Interface

Microsoft.VisualStudio.Shell.Interop Namespace