IErrorInfo.GetGuid(Guid) Method

Definition

Returns the GUID of the interface defining the error.

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

Parameters

pGuid
Guid

[out] The GUID of the interface.

Returns

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

Applies to