ColumnNameAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class ColumnNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type ColumnNameAttribute = class
inherit Attribute
Public NotInheritable Class ColumnNameAttribute
Inherits Attribute
- Inheritance
-
ColumnNameAttribute
- Attributes
Constructors
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. |