Partager via


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
int GetDefaultEditField(
    out int piField
)
int GetDefaultEditField(
    [OutAttribute] int% piField
)
abstract GetDefaultEditField : 
        piField:int byref -> int
function GetDefaultEditField(
    piField : int
) : int

Parameters

  • piField
    Type: Int32%

    [out] A pointer to an integer containing the field number from which editing will begin.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace