IVsLibrary::GetGuid Method (Guid)

 

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)

int GetGuid(
	[OutAttribute] Guid% ppguidLib
)

Parameters

ppguidLib
Type: System::Guid

[out] Pointer to the GUID of the current library.

Return Value

Type: System::Int32

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

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.

Return to top
Show: