SharedSettingsAttribute 构造函数

定义

重载

SharedSettingsAttribute(String, Boolean)

使用指定的名称初始化 SharedSettingsAttribute 的新实例。

SharedSettingsAttribute(String, Type)

使用指定的名称初始化 SharedSettingsAttribute 的新实例。

SharedSettingsAttribute(String, Boolean)

使用指定的名称初始化 SharedSettingsAttribute 的新实例。

public:
 SharedSettingsAttribute(System::String ^ name, bool machineLocal);
public:
 SharedSettingsAttribute(Platform::String ^ name, bool machineLocal);
 SharedSettingsAttribute(std::wstring const & name, bool machineLocal);
public SharedSettingsAttribute (string name, bool machineLocal);
new Microsoft.VisualStudio.Shell.SharedSettingsAttribute : string * bool -> Microsoft.VisualStudio.Shell.SharedSettingsAttribute
Public Sub New (name As String, machineLocal As Boolean)

参数

name
String

共享设置的名称。

machineLocal
Boolean

如果设置为本地计算机,则为 True; 否则为 false。

适用于

SharedSettingsAttribute(String, Type)

使用指定的名称初始化 SharedSettingsAttribute 的新实例。

public:
 SharedSettingsAttribute(System::String ^ name, Type ^ machineLocalityEvaluatorType);
public:
 SharedSettingsAttribute(Platform::String ^ name, Platform::Type ^ machineLocalityEvaluatorType);
public SharedSettingsAttribute (string name, Type machineLocalityEvaluatorType);
new Microsoft.VisualStudio.Shell.SharedSettingsAttribute : string * Type -> Microsoft.VisualStudio.Shell.SharedSettingsAttribute
Public Sub New (name As String, machineLocalityEvaluatorType As Type)

参数

name
String

共享设置的名称。

machineLocalityEvaluatorType
Type

计算器的类型。

适用于