ColumnNameAttribute ColumnNameAttribute ColumnNameAttribute Class

Definition

Allows a member to specify IDataView column name directly, as opposed to the default behavior of using the member name as the column name.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple=false, Inherited=true)]
public sealed class ColumnNameAttribute : Attribute
type ColumnNameAttribute = class
    inherit Attribute
Public NotInheritable Class ColumnNameAttribute
Inherits Attribute
Inheritance
ColumnNameAttributeColumnNameAttributeColumnNameAttribute
Attributes

Constructors

ColumnNameAttribute(String) ColumnNameAttribute(String) ColumnNameAttribute(String)

Allows one to specify a name to expose this column as, as opposed to the default behavior of using the member name as the column name.

Applies to