Partager via


TaskProvider.IVsTaskProvider3.GetProviderGuid Method

Gets a unique GUID for this provider. This is used to persist and restore provider-specific data managed by the task list, such as user customizations of column width and order.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
Private Function GetProviderGuid ( _
    <OutAttribute> ByRef pguidProvider As Guid _
) As Integer Implements IVsTaskProvider3.GetProviderGuid
'Utilisation
Dim instance As TaskProvider
Dim pguidProvider As Guid
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskProvider3).GetProviderGuid(pguidProvider)
int IVsTaskProvider3.GetProviderGuid(
    out Guid pguidProvider
)
private:
virtual int GetProviderGuid(
    [OutAttribute] Guid% pguidProvider
) sealed = IVsTaskProvider3::GetProviderGuid
private abstract GetProviderGuid : 
        pguidProvider:Guid byref -> int 
private override GetProviderGuid : 
        pguidProvider:Guid byref -> int 
JScript does not support explicit interface implementations.

Parameters

  • pguidProvider
    Type: System.Guid%
    [out] The GUID of the provider's type.

Return Value

Type: System.Int32
S_OK().

Implements

IVsTaskProvider3.GetProviderGuid(Guid%)

.NET Framework Security

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace