Partager via


TaskProvider.IVsTaskProvider3.GetProviderName Method

Gets the name of the provider.

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 GetProviderName ( _
    <OutAttribute> ByRef pbstrName As String _
) As Integer Implements IVsTaskProvider3.GetProviderName
'Utilisation
Dim instance As TaskProvider
Dim pbstrName As String
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskProvider3).GetProviderName(pbstrName)
int IVsTaskProvider3.GetProviderName(
    out string pbstrName
)
private:
virtual int GetProviderName(
    [OutAttribute] String^% pbstrName
) sealed = IVsTaskProvider3::GetProviderName
private abstract GetProviderName : 
        pbstrName:string byref -> int 
private override GetProviderName : 
        pbstrName:string byref -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
S_OK().

Implements

IVsTaskProvider3.GetProviderName(String%)

.NET Framework Security

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace