Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the XML element name (default=name of the managed type member).
Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public string ElementName { get; set; }
Property Value
The XML element name.
Example
ContentSerializerAttribute with ElementName set to the string "PlayerName".
[ContentSerializerAttribute( ElementName = "PlayerName" )]
See Also
Reference
ContentSerializerAttribute Class
ContentSerializerAttribute Members
Microsoft.Xna.Framework.Content Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone