WorkspaceSettingsExtensions.AbsolutePath Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a string value representing potentially relative path as full path, using implied root as a base
public static string AbsolutePath (this Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings settings, string key, string defaultValue = default);
public static string? AbsolutePath (this Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings settings, string key, string? defaultValue = default);
static member AbsolutePath : Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings * string * string -> string
<Extension()>
Public Function AbsolutePath (settings As IWorkspaceSettings, key As String, Optional defaultValue As String = Nothing) As String
Parameters
- settings
- IWorkspaceSettings
the settings instance
- key
- String
the name of the property
- defaultValue
- String
default value
Returns
the absolute path