Freigeben über


IVsTaskItem3.GetDefaultEditField Method

If the user starts editing the task in a way that does not select a specific field, this method specifies the field in which editing will begin.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetDefaultEditField ( _
    <OutAttribute> ByRef piField As Integer _
) As Integer
'Usage
Dim instance As IVsTaskItem3
Dim piField As Integer
Dim returnValue As Integer

returnValue = instance.GetDefaultEditField(piField)
int GetDefaultEditField(
    out int piField
)
int GetDefaultEditField(
    [OutAttribute] int% piField
)
abstract GetDefaultEditField : 
        piField:int byref -> int 
function GetDefaultEditField(
    piField : int
) : int

Parameters

  • piField
    Type: System.Int32%
    [Out] A pointer to an integer containing the field number from which editing will begin.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsTaskItem3::GetDefaultEditField(
   [out] int* piField
);

.NET Framework Security

See Also

Reference

IVsTaskItem3 Interface

IVsTaskItem3 Members

Microsoft.VisualStudio.Shell.Interop Namespace