SetMemberType Method
Definition
SetMemberType<T>(T, Type)
Assigns a new type to the request.
public static T SetMemberType<T>(this T request, Type type) where T : IMetadata
Parameters
Returns
- T
A reference to
requestafter the operation has completed.
Type Parameters
TThe model that implements the IMetadata interface.
Remarks
The type is converted to its equivalent string representation (fully qualified name of the type, including its namespace, comma delimited with the simple name of the assembly).