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
'宣告
Private Function GetProviderName ( _
<OutAttribute> ByRef pbstrName As String _
) As Integer Implements IVsTaskProvider3.GetProviderName
'用途
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
- pbstrName
Type: System.String%
[out] The name of the provider.
Return Value
Type: System.Int32
S_OK().
Implements
IVsTaskProvider3.GetProviderName(String%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.