다음을 통해 공유


SharedSettingsAttribute Constructors

Definition

Overloads

SharedSettingsAttribute(String, Boolean)

Initializes a new instance of SharedSettingsAttribute with the specified name.

SharedSettingsAttribute(String, Type)

Initializes a new instance of SharedSettingsAttribute with the specified name.

SharedSettingsAttribute(String, Boolean)

Initializes a new instance of SharedSettingsAttribute with the specified name.

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)

Parameters

name
String

The name of the shared settings.

machineLocal
Boolean

True if the setting is machine-local, otherwise false.

Applies to

SharedSettingsAttribute(String, Type)

Initializes a new instance of SharedSettingsAttribute with the specified name.

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)

Parameters

name
String

The name of the shared settings.

machineLocalityEvaluatorType
Type

The type of the evaluator.

Applies to