PersistenceElementNameAttribute Class

Definition

Represents an attribute that provides an element name for persisting an element to XML.

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

Constructors

PersistenceElementNameAttribute(String)

Initializes a new instance of the PersistenceElementNameAttribute class by using the provided name.

Properties

Name

Gets the element name to use in persistence.

Applies to