VirtualColumn Class

Virtual Column (Field) class to passed to/from ColumnsPickerControl class.


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

public class VirtualColumn

The VirtualColumn type exposes the following members.

Public methodVirtualColumn(String, String, Boolean, Boolean)Used by the ColumnsPickerControl exclusively to set the requiredText.
Public methodVirtualColumn(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.
Public methodVirtualColumn(String, String, String, Boolean, Object, Boolean)

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetFakedColumnReferenceNamePrefixThis method is here so that other classes can retrieve mapped reference for faked columns Deserialization needs this name to re-construct the list after the workbook is loaded.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetNextFakedColumnReferenceNameWe have to treat the faked columns to be the same as round trip columns However, faked columns do not have database fields to map against so we must have a reference name (which is mapped to a database field.) This format of the faked reference name is System.Faked.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberIsFakedReferenceNameChecks the reference name is one of the "faked" name.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the DetailedDisplay if it is required (used exclusively in ColumnsPickerControl), otherwise return Display. (Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.