TaskProvider.IVsTaskProvider.ReRegistrationKey Method
Gets the re-registration key.
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 ReRegistrationKey ( _
<OutAttribute> ByRef key As String _
) As Integer Implements IVsTaskProvider.ReRegistrationKey
用法
Dim instance As TaskProvider
Dim key As String
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskProvider).ReRegistrationKey(key)
int IVsTaskProvider.ReRegistrationKey(
out string key
)
private:
virtual int ReRegistrationKey(
[OutAttribute] String^% key
) sealed = IVsTaskProvider::ReRegistrationKey
private abstract ReRegistrationKey :
key:string byref -> int
private override ReRegistrationKey :
key:string byref -> int
JScript does not support explicit interface implementations.
Parameters
- key
Type: System.String%
[out] Returns the key.
Return Value
Type: System.Int32
S_OK().
Implements
IVsTaskProvider.ReRegistrationKey(String%)
Remarks
This method returns a string "x.y", where x is the provider's type name and y is the provider's hash code.
.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.