共用方式為


HttpRequestMessageExtensions.GetPropertyOrDefault<T> Method

Definition

public static T GetPropertyOrDefault<T> (this System.Net.Http.HttpRequestMessage request, string propertyName);
static member GetPropertyOrDefault : System.Net.Http.HttpRequestMessage * string -> 'T
<Extension()>
Public Function GetPropertyOrDefault(Of T) (request As HttpRequestMessage, propertyName As String) As T

Type Parameters

T

Parameters

propertyName
String

Returns

T

Applies to