Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
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.