共用方式為


SharedAttribute 建構函式

定義

多載

SharedAttribute()

初始化標示為全域共用之 SharedAttribute 類別的新執行個體。

SharedAttribute(String)

使用指定的共用界限,初始化 SharedAttribute 類別的新執行個體。

SharedAttribute()

來源:
SharedAttribute.cs
來源:
SharedAttribute.cs
來源:
SharedAttribute.cs

初始化標示為全域共用之 SharedAttribute 類別的新執行個體。

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

適用於

SharedAttribute(String)

來源:
SharedAttribute.cs
來源:
SharedAttribute.cs
來源:
SharedAttribute.cs

使用指定的共用界限,初始化 SharedAttribute 類別的新執行個體。

public:
 SharedAttribute(System::String ^ sharingBoundaryName);
public SharedAttribute (string sharingBoundaryName);
new System.Composition.SharedAttribute : string -> System.Composition.SharedAttribute
Public Sub New (sharingBoundaryName As String)

參數

sharingBoundaryName
String

共用界限。

適用於