Table of Contents

Class DataMemberAttribute

Namespace
SunamoAttributes
Assembly
SunamoAttributes.dll

Attribute to specify the name of a data member for serialization or mapping purposes.

public class DataMemberAttribute : Attribute
Inheritance
DataMemberAttribute
Inherited Members
Extension Methods

Constructors

DataMemberAttribute(string)

Initializes a new instance of the DataMemberAttribute class with the specified name.

public DataMemberAttribute(string name)

Parameters

name string

The name of the data member.

Properties

Name

Gets or sets the name of the data member.

public string Name { get; set; }

Property Value

string