Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
When the user edits a task, this method is called for each edited column once the edit is committed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function SetColumnValue ( _
iField As Integer, _
ByRef pvarValue As Object _
) As Integer
'Usage
Dim instance As IVsTaskItem3
Dim iField As Integer
Dim pvarValue As Object
Dim returnValue As Integer
returnValue = instance.SetColumnValue(iField, _
pvarValue)
int SetColumnValue(
int iField,
ref Object pvarValue
)
int SetColumnValue(
[InAttribute] int iField,
[InAttribute] Object^% pvarValue
)
abstract SetColumnValue :
iField:int *
pvarValue:Object byref -> int
function SetColumnValue(
iField : int,
pvarValue : Object
) : int
Parameters
- iField
Type: System.Int32
[In] An integer containing the Field Column to be used.
- pvarValue
Type: System.Object%
[In] A pointer to an object of type VARIANT.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
The type of pvarValue will be the same as the type returned from GetColumnValue.
COM Signature
From vsshell80.idl:
HRESULT IVsTaskItem3::SetColumnValue(
[in] int iField,
[in] VARIANT* pvarValue
);
.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.