共用方式為


IVsTaskProvider3.GetSurrogateProviderGuid(Guid) Method

Definition

If a provider implements this method, all its tasks will be listed under the surrogate provider in the list, as if they belong to the surrogate provider.

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 (an object 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 IVsTaskProvider3::GetSurrogateProviderGuid(  
   [out] GUID* pguidProvider  
);  

Applies to