IRequiredMemberSelector.IsRequiredMember Method
Determines whether a given member is required on deserialization.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Function IsRequiredMember ( _
member As MemberInfo _
) As Boolean
'Usage
Dim instance As IRequiredMemberSelector
Dim member As MemberInfo
Dim returnValue As Boolean
returnValue = instance.IsRequiredMember(member)
bool IsRequiredMember(
MemberInfo member
)
bool IsRequiredMember(
MemberInfo^ member
)
abstract IsRequiredMember :
member:MemberInfo -> bool
function IsRequiredMember(
member : MemberInfo
) : boolean
Parameters
member
Type: System.Reflection.MemberInfoThe MemberInfo to be deserialized.
Return Value
Type: System.Boolean
true if member should be treated as a required member; otherwise false.