XmlnsDictionary 构造函数

定义

初始化 XmlnsDictionary 类的新实例。Initializes a new instance of the XmlnsDictionary class.

重载

XmlnsDictionary()

初始化 XmlnsDictionary 类的新实例。Initializes a new instance of the XmlnsDictionary class.

XmlnsDictionary(XmlnsDictionary)

通过使用指定字典作为复制源,初始化 XmlnsDictionary 类的新实例。Initializes a new instance of the XmlnsDictionary class by using the specified dictionary as a copy source.

XmlnsDictionary()

初始化 XmlnsDictionary 类的新实例。Initializes a new instance of the XmlnsDictionary class.

public:
 XmlnsDictionary();
public XmlnsDictionary ();
Public Sub New ()

XmlnsDictionary(XmlnsDictionary)

通过使用指定字典作为复制源,初始化 XmlnsDictionary 类的新实例。Initializes a new instance of the XmlnsDictionary class by using the specified dictionary as a copy source.

public:
 XmlnsDictionary(System::Windows::Markup::XmlnsDictionary ^ xmlnsDictionary);
public XmlnsDictionary (System.Windows.Markup.XmlnsDictionary xmlnsDictionary);
new System.Windows.Markup.XmlnsDictionary : System.Windows.Markup.XmlnsDictionary -> System.Windows.Markup.XmlnsDictionary

参数

xmlnsDictionary
XmlnsDictionary

新的 XmlnsDictionary 所基于的字典。The dictionary on which to base the new XmlnsDictionary.

异常

xmlnsDictionarynullxmlnsDictionary is null.

注解

除了之外xmlnsDictionary false ,还会复制源中的所有值(包括索引条目),在新实例中设置为。 SealedAll values from the source xmlnsDictionary including the index entries are copied except for Sealed, which is set to false in the new instance.

适用于