Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a pointer to the GUID of the library.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetGuid ( _
    <OutAttribute> ByRef ppguidLib As Guid _
) As Integer
int GetGuid(
    out Guid ppguidLib
)
int GetGuid(
    [OutAttribute] Guid% ppguidLib
)
abstract GetGuid : 
        ppguidLib:Guid byref -> int
function GetGuid(
    ppguidLib : Guid
) : int
Parameters
- ppguidLib 
 Type: Guid%- [out] Pointer to the GUID of the current library. 
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsLibrary::GetGuid(
   const GUID **ppguidLib
);
This method returns the GUID identifying the current library. Put the library GUID into the code that implements this method.
.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.