Share via


XmlnsDefinitionAttribute Class

Definition

Specifies the mapping between an XML namespace and a CLR namespace.

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

Constructors

Name Description
XmlnsDefinitionAttribute(String, String)

Creates a new XmlnsDefinitionAttribute.

Properties

Name Description
AssemblyName

Gets or sets the assembly name containing the target namespace.

ClrNamespace
Obsolete.

Gets the CLR namespace.

Target

Gets the target CLR namespace or xmlns.

XmlNamespace

Gets the XML namespace being mapped.

Applies to