Delen via


VirtualColumn Constructor (String, String, Boolean, Object, Boolean)

No default constructor; non-empty Display string is always required.

Display is the string shown in ColumnsPickerControl list box and probably displayed to user by caller.

MappedDatabaseField is the Currituck field name that this column is mapped to. It may be the same as Display.

It will be empty or null for non-mapped columns.

Required means caller requires this field and ColumnsPickerControl cannot delete it. Example might be the ID field.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Controls (in Microsoft.TeamFoundation.WorkItemTracking.Controls.dll)

Syntax

'Declaration
Public Sub New ( _
    display As String, _
    mappedDatabaseField As String, _
    required As Boolean, _
    specialFieldInfo As Object, _
    fakedColumn As Boolean _
)
public VirtualColumn(
    string display,
    string mappedDatabaseField,
    bool required,
    Object specialFieldInfo,
    bool fakedColumn
)
public:
VirtualColumn(
    String^ display, 
    String^ mappedDatabaseField, 
    bool required, 
    Object^ specialFieldInfo, 
    bool fakedColumn
)
new : 
        display:string * 
        mappedDatabaseField:string * 
        required:bool * 
        specialFieldInfo:Object * 
        fakedColumn:bool -> VirtualColumn
public function VirtualColumn(
    display : String, 
    mappedDatabaseField : String, 
    required : boolean, 
    specialFieldInfo : Object, 
    fakedColumn : boolean
)

Parameters

.NET Framework Security

See Also

Reference

VirtualColumn Class

VirtualColumn Overload

Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace