Partager via


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

Return Value

Type: System.Boolean
true if member should be treated as a required member; otherwise false.

See Also

Reference

IRequiredMemberSelector Interface

System.Net.Http.Formatting Namespace