Partilhar via


IVsSimpleLibrary2.GetGuid(Guid) Method

Definition

Returns the GUID of the library.

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

Parameters

pguidLib
Guid

[out] Returns the GUID that identifies this library.

Returns

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

Remarks

COM Signature

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.

Applies to