WorkspaceSettingsExtensions.PropertyGroupArray Method

Definition

A special accessors for inner named settings collection array (T=IWorkspaceSettings) Used when caller is not interested by the current state, but just want to get the current value to use.

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettings ^> ^ PropertyGroupArray(Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettings ^ settings, System::String ^ key);
public:
[System::Runtime::CompilerServices::Extension]
 static Platform::Array <Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettings ^> ^ PropertyGroupArray(Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettings ^ settings, Platform::String ^ key);
public static Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings[] PropertyGroupArray (this Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings settings, string key);
static member PropertyGroupArray : Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings * string -> Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings[]
<Extension()>
Public Function PropertyGroupArray (settings As IWorkspaceSettings, key As String) As IWorkspaceSettings()

Parameters

settings
IWorkspaceSettings

the settings instance

key
String

the name of the property

Returns

the current value as persisted in the settings or empty array

Applies to