Partager via


MediaTypeFormatter.RequiredMemberSelector Property

Gets or sets the IRequiredMemberSelector instance used to determine required members.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Property RequiredMemberSelector As IRequiredMemberSelector 
    Get 
    Set
'Usage
Dim instance As MediaTypeFormatter 
Dim value As IRequiredMemberSelector 

value = instance.RequiredMemberSelector

instance.RequiredMemberSelector = value
public IRequiredMemberSelector RequiredMemberSelector { get; set; }
public:
property IRequiredMemberSelector^ RequiredMemberSelector {
    IRequiredMemberSelector^ get ();
    void set (IRequiredMemberSelector^ value);
}
member RequiredMemberSelector : IRequiredMemberSelector with get, set
function get RequiredMemberSelector () : IRequiredMemberSelector 
function set RequiredMemberSelector (value : IRequiredMemberSelector)

Property Value

Type: System.Net.Http.Formatting.IRequiredMemberSelector
The IRequiredMemberSelector instance.

See Also

Reference

MediaTypeFormatter Class

System.Net.Http.Formatting Namespace