共用方式為


TaskProvider.IVsTaskProvider2.ReRegistrationKey Method

Gets the reregistration 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 IVsTaskProvider2.ReRegistrationKey
'用途
Dim instance As TaskProvider
Dim key As String
Dim returnValue As Integer

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

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTaskProvider2.ReRegistrationKey(String%)

Remarks

This method calls ReRegistrationKey.

.NET Framework Security

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace