次の方法で共有


IVsTaskItem3.GetDefaultEditField(Int32) Method

Definition

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.

public:
 int GetDefaultEditField([Runtime::InteropServices::Out] int % piField);
int GetDefaultEditField([Runtime::InteropServices::Out] int & piField);
public int GetDefaultEditField (out int piField);
abstract member GetDefaultEditField : int -> int
Public Function GetDefaultEditField (ByRef piField As Integer) As Integer

Parameters

piField
Int32

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

Returns

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  
);  

Applies to