VirtualColumn 建構函式 (String, String, Boolean, Object, Boolean)

沒有預設的建構函式;永遠需要非空白的顯示字串。

顯示字串是顯示在 ColumnsPickerControl 清單方塊和可能會向使用者顯示由呼叫端。

MappedDatabaseField 是 Currituck 欄位名稱資料行對應。 這可能與顯示。

這會是空的或為非對應的資料行設定為 null。

必要的方法呼叫端需要這個欄位,並且 ColumnsPickerControl 無法刪除它。 範例是 ID 欄位。

命名空間:  Microsoft.TeamFoundation.WorkItemTracking.Controls
組件:  Microsoft.TeamFoundation.WorkItemTracking.Controls (在 Microsoft.TeamFoundation.WorkItemTracking.Controls.dll 中)

語法

'宣告
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
)

參數

.NET Framework 安全性

請參閱

參考

VirtualColumn 類別

VirtualColumn 多載

Microsoft.TeamFoundation.WorkItemTracking.Controls 命名空間