Udostępnij za pośrednictwem


IVsTaskItem3.GetSurrogateProviderGuid(Guid) Method

Definition

If the task implements this method, it will be listed under the surrogate provider in the list, as if it belongs to the surrogate provider. This overrides the surrogate provider specified by IVsTaskProvider.GetSurrogateProviderGuid, if any.

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

Parameters

pguidProvider
Guid

[out] A pointer to a Provider Identifier of type GUID.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsTaskItem3::GetSurrogateProviderGuid(  
   [out] GUID* pguidProvider  
);  

Applies to