IServerVariablesFeature.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 the value of a server variable for the current request.
public:
property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ variableName); void set(System::String ^ variableName, System::String ^ value); };
public string this[string variableName] { get; set; }
public string? this[string variableName] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(variableName As String) As String
Parameters
- variableName
- String
The variable name
Property Value
May return null or empty if the variable does not exist or is not set.