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)
- Source:
- MediaType.cs
- Source:
- MediaType.cs
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)
- Source:
- MediaType.cs
- Source:
- MediaType.cs
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
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for