Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

IsSettable Property

Visual Studio .NET 2003

Returns whether a given column of a task item can be edited.

[Visual Basic .NET]
Public ReadOnly Property IsSettable( _
   ByVal Column As vsTaskListColumn _
) As Boolean
[Visual Basic 6]
Property Get IsSettable( _
   ByVal Column As vsTaskListColumn _
) As Boolean
HRESULT __stdcall get_IsSettable(
   vsTaskListColumn Column,
   /* [out, retval] */ VARIANT_BOOL* retVal
public bool IsSettable(
   vsTaskListColumn Column
) {get;}
[JScript .NET]
public function get IsSettable(
   Column : vsTaskListColumn
) : Boolean


A vsTaskListColumn constant indicating the column for the task item.

Return Value

True if the column can be edited, False if not.


Sub IsSettableExample()
   ' Before running, add a task to the Task List.
   Dim win As Window = DTE.Windows.Item(Constants.vsWindowKindTaskList)
   Dim TL As TaskList = win.Object
   Dim TLItem As TaskItem = TL.TaskItems.Item(1)
   Dim msg As String

   'List properties of the Task Item.
   msg = "TaskItem Category property value: " & TLItem.Category & vbCr
   msg = msg & "TaskItem SubCategory property value: " & TLItem.SubCategory & vbCr
   msg = msg & "TaskItem Checked property value: " & TLItem.Checked & vbCr
   msg = msg & "TaskItem Displayed property value: " & TLItem.Displayed & vbCr
   msg = msg & "TaskItem IsSettable property value: " & TLItem.IsSettable(vsTaskListColumn.vsTaskListColumnCheck) & vbCr
   msg = msg & "TaskItem Priority property value: " & TLItem.Priority & vbCr
End Sub

See Also

Applies To: TaskItem Object

© 2015 Microsoft