Organization 构造函数

定义

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

重载

Organization()

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

Organization(LocalizedEntryCollection<LocalizedName>, LocalizedEntryCollection<LocalizedName>, LocalizedEntryCollection<LocalizedUri>)

初始化具有特定的名称,显示名称和 URIs的集合的 Organization 类的新实例。Initializes a new instance of the Organization class that has the specified collection of names, display names, and URIs.

Organization()

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

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

注解

DisplayNames Names Urls 新实例中的、和属性分别初始化为适当类型的空集合。The DisplayNames, Names, and Urls properties in the new instance are each initialized to an empty collection of the appropriate type.

适用于

产品 已引入

Organization(LocalizedEntryCollection<LocalizedName>, LocalizedEntryCollection<LocalizedName>, LocalizedEntryCollection<LocalizedUri>)

初始化具有特定的名称,显示名称和 URIs的集合的 Organization 类的新实例。Initializes a new instance of the Organization class that has the specified collection of names, display names, and URIs.

public:
 Organization(System::IdentityModel::Metadata::LocalizedEntryCollection<System::IdentityModel::Metadata::LocalizedName ^> ^ names, System::IdentityModel::Metadata::LocalizedEntryCollection<System::IdentityModel::Metadata::LocalizedName ^> ^ displayNames, System::IdentityModel::Metadata::LocalizedEntryCollection<System::IdentityModel::Metadata::LocalizedUri ^> ^ urls);
public Organization (System.IdentityModel.Metadata.LocalizedEntryCollection<System.IdentityModel.Metadata.LocalizedName> names, System.IdentityModel.Metadata.LocalizedEntryCollection<System.IdentityModel.Metadata.LocalizedName> displayNames, System.IdentityModel.Metadata.LocalizedEntryCollection<System.IdentityModel.Metadata.LocalizedUri> urls);
new System.IdentityModel.Metadata.Organization : System.IdentityModel.Metadata.LocalizedEntryCollection<System.IdentityModel.Metadata.LocalizedName> * System.IdentityModel.Metadata.LocalizedEntryCollection<System.IdentityModel.Metadata.LocalizedName> * System.IdentityModel.Metadata.LocalizedEntryCollection<System.IdentityModel.Metadata.LocalizedUri> -> System.IdentityModel.Metadata.Organization
Public Sub New (names As LocalizedEntryCollection(Of LocalizedName), displayNames As LocalizedEntryCollection(Of LocalizedName), urls As LocalizedEntryCollection(Of LocalizedUri))

参数

names
LocalizedEntryCollection<LocalizedName>

包含此实例的名称的 LocalizedName 的集合。A collection of LocalizedName that contains the names for this instance.

displayNames
LocalizedEntryCollection<LocalizedName>

包含此实例的演示名称的 LocalizedName 的集合。A collection of LocalizedName that contains the display names for this instance.

urls
LocalizedEntryCollection<LocalizedUri>

包含此实例的 URL 的 LocalizedUri 的集合。A collection of LocalizedUri that contains the URLs for this instance.

例外

是否任何输入参数都为 null。If any of the input parameters is null.

适用于

产品 已引入