Share via


XmlnsDefinitionAttribute 类

定义

指定 XML 命名空间和 CLR 命名空间之间的映射的属性。

[System.Diagnostics.DebuggerDisplay("{XmlNamespace}, {ClrNamespace}, {AssemblyName}")]
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class XmlnsDefinitionAttribute : Attribute
type XmlnsDefinitionAttribute = class
    inherit Attribute
继承
System.Attribute
XmlnsDefinitionAttribute
属性
System.Diagnostics.DebuggerDisplayAttribute System.AttributeUsageAttribute

构造函数

XmlnsDefinitionAttribute(String, String)

指定 XML 命名空间和 CLR 命名空间之间的映射的属性。

属性

AssemblyName

指定 XML 命名空间和 CLR 命名空间之间的映射的属性。

ClrNamespace

指定 XML 命名空间和 CLR 命名空间之间的映射的属性。

XmlNamespace

指定 XML 命名空间和 CLR 命名空间之间的映射的属性。

适用于