MediaType.GetParameter 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.
Overloads
| GetParameter(StringSegment) |
Gets the parameter |
| GetParameter(String) |
Gets the parameter |
GetParameter(StringSegment)
Gets the parameter parameterName of the media type.
public:
Microsoft::Extensions::Primitives::StringSegment GetParameter(Microsoft::Extensions::Primitives::StringSegment parameterName);
public Microsoft.Extensions.Primitives.StringSegment GetParameter (Microsoft.Extensions.Primitives.StringSegment parameterName);
member this.GetParameter : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Extensions.Primitives.StringSegment
Public Function GetParameter (parameterName As StringSegment) As StringSegment
Parameters
- parameterName
- StringSegment
The name of the parameter to retrieve.
Returns
The StringSegmentfor the given parameterName if found; otherwise
null.
Applies to
GetParameter(String)
Gets the parameter parameterName of the media type.
public:
Microsoft::Extensions::Primitives::StringSegment GetParameter(System::String ^ parameterName);
public Microsoft.Extensions.Primitives.StringSegment GetParameter (string parameterName);
member this.GetParameter : string -> Microsoft.Extensions.Primitives.StringSegment
Public Function GetParameter (parameterName As String) As StringSegment
Parameters
- parameterName
- String
The name of the parameter to retrieve.
Returns
The StringSegmentfor the given parameterName if found; otherwise
null.