ExtensionCollection<T> 构造函数

定义

初始化 ExtensionCollection<T> 类的新实例。

重载

ExtensionCollection<T>(T)

使用指定的所有者初始化 ExtensionCollection<T> 类的新实例。

ExtensionCollection<T>(T, Object)

使用指定的所有者和同步根初始化 ExtensionCollection<T> 类的新实例。

ExtensionCollection<T>(T)

Source:
ExtensionCollection.cs
Source:
ExtensionCollection.cs
Source:
ExtensionCollection.cs

使用指定的所有者初始化 ExtensionCollection<T> 类的新实例。

public:
 ExtensionCollection(T owner);
public ExtensionCollection (T owner);
new System.ServiceModel.ExtensionCollection<'T (requires 'T :> System.ServiceModel.IExtensibleObject<'T>)> : 'T -> System.ServiceModel.ExtensionCollection<'T (requires 'T :> System.ServiceModel.IExtensibleObject<'T>)>
Public Sub New (owner As T)

参数

owner
T

集合的所有者。

适用于

ExtensionCollection<T>(T, Object)

Source:
ExtensionCollection.cs
Source:
ExtensionCollection.cs
Source:
ExtensionCollection.cs

使用指定的所有者和同步根初始化 ExtensionCollection<T> 类的新实例。

public:
 ExtensionCollection(T owner, System::Object ^ syncRoot);
public ExtensionCollection (T owner, object syncRoot);
new System.ServiceModel.ExtensionCollection<'T (requires 'T :> System.ServiceModel.IExtensibleObject<'T>)> : 'T * obj -> System.ServiceModel.ExtensionCollection<'T (requires 'T :> System.ServiceModel.IExtensibleObject<'T>)>
Public Sub New (owner As T, syncRoot As Object)

参数

owner
T

集合的所有者。

syncRoot
Object

用于同步的对象。

适用于