Share via


MediaType.GetParameter Method

Definition

Overloads

GetParameter(StringSegment)

Gets the parameter parameterName of the media type.

GetParameter(String)

Gets the parameter parameterName of the media type.

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