Partager via


IStringStorage.Get(String) Method

Definition

Returns the value and machine-local flag for the named item, or null if the item doesn't exist.

public:
 Microsoft::VisualStudio::Settings::StringWithMachineLocalFlag ^ Get(System::String ^ name);
Microsoft::VisualStudio::Settings::StringWithMachineLocalFlag Get(std::wstring const & name);
public Microsoft.VisualStudio.Settings.StringWithMachineLocalFlag Get (string name);
abstract member Get : string -> Microsoft.VisualStudio.Settings.StringWithMachineLocalFlag
Public Function Get (name As String) As StringWithMachineLocalFlag

Parameters

name
String

The case-insensitive name of the setting.

Returns

The flag.

Exceptions

May be thrown when name is null.

May be thrown when name is empty.

Applies to