SharedAttribute 构造函数

定义

重载

SharedAttribute()

初始化一个标记为全局共享的 SharedAttribute 类的新实例。

SharedAttribute(String)

使用指定的共享边界来初始化 SharedAttribute 类的新实例。

SharedAttribute()

Source:
SharedAttribute.cs
Source:
SharedAttribute.cs
Source:
SharedAttribute.cs

初始化一个标记为全局共享的 SharedAttribute 类的新实例。

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

适用于

SharedAttribute(String)

Source:
SharedAttribute.cs
Source:
SharedAttribute.cs
Source:
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

共享边界。

适用于