Share via


XmlnsPrefixAttribute Class

Definition

Specifies a prefix for an XML namespace when serializing XAML.

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

Constructors

Name Description
XmlnsPrefixAttribute(String, String)

Creates a new XmlnsPrefixAttribute.

Properties

Name Description
Prefix

Gets the prefix for the XML namespace.

XmlNamespace

Gets the XML namespace.

Applies to