SharedSettingsAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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
计算器的类型。