IConfiguration.Item[String] Property
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.
Gets or sets a configuration value.
public:
property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); void set(System::String ^ key, System::String ^ value); };
public string? this[string key] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(key As String) As String
Parameters
- key
- String
The configuration key.
Property Value
The configuration value.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.