Sdílet prostřednictvím


ElementNameAttribute Class

Definition

This attribute is used to mark domain property as the element name property.

public ref class ElementNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class ElementNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type ElementNameAttribute = class
    inherit Attribute
Public NotInheritable Class ElementNameAttribute
Inherits Attribute
Inheritance
ElementNameAttribute
Attributes

Constructors

ElementNameAttribute()

Initializes an new instance of the ElementNameAttribute class.

ElementNameAttribute(Type)

Creates an instance of the ElementNameAttribute class.

Properties

ElementNameProvider

Gets element name provider type.

Applies to