IVsSimpleLibrary2::GetGuid Method (Guid)

 

Returns the GUID of the library.

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

int GetGuid(
	[OutAttribute] Guid% pguidLib
)

Parameters

pguidLib
Type: System::Guid

[out] Returns the GUID that identifies this library.

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT IVsSimpleLibrary2::GetGuid(
   GUID *ppguidLib
);

This method returns the GUID identifying the current library. This GUID should be unique to the library.

Return to top
Show: