PersistenceElementNameAttribute 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.
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. |