VirtualColumn Class
Virtual Column (Field) class to passed to/from ColumnsPickerControl class.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Controls.VirtualColumn
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Controls (in Microsoft.TeamFoundation.WorkItemTracking.Controls.dll)
Syntax
'Declaration
Public Class VirtualColumn
public class VirtualColumn
public ref class VirtualColumn
type VirtualColumn = class end
public class VirtualColumn
The VirtualColumn type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VirtualColumn(String, String, Boolean, Boolean) | Used by the ColumnsPickerControl exclusively to set the requiredText. | |
VirtualColumn(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. | |
VirtualColumn(String, String, String, Boolean, Object, Boolean) |
Top
Properties
Name | Description | |
---|---|---|
DatabaseDisplayField | ||
Display | ||
IsFaked | ||
IsRequired | ||
IsSpecialField | ||
IsUserField | ||
MappedDatabaseField | ||
SpecialFieldInfo |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetFakedColumnReferenceNamePrefix | This 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. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNextFakedColumnReferenceName | We 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. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsFakedReferenceName | Checks the reference name is one of the "faked" name. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the DetailedDisplay if it is required (used exclusively in ColumnsPickerControl), otherwise return Display. (Overrides Object.ToString().) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace