Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As IRequireClasses
Dim index As UInteger
Dim pclsid As Guid
Dim returnValue As Integer
returnValue = instance.GetRequiredClasses(index, _
pclsid)
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
- 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.
Remarks
COM Signature
From objext.idl:
[C++]
HRESULT IRequireClasses::GetRequiredClasses(
[in] ULONG index, CLSID* pclsid
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.