Udostępnij za pośrednictwem


IVsLibrary.GetGuid(Guid) Method

Definition

Returns a pointer to the GUID of the library.

public:
 int GetGuid([Runtime::InteropServices::Out] Guid % ppguidLib);
public int GetGuid (out Guid ppguidLib);
abstract member GetGuid : Guid -> int
Public Function GetGuid (ByRef ppguidLib As Guid) As Integer

Parameters

ppguidLib
Guid

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

Returns

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.

Applies to