HttpRequestMessageExtensions.GetPropertyOrDefault<T> 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.
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
- request
- HttpRequestMessage
- propertyName
- String
Returns
T