次の方法で共有


MediaTypeFormatter.MaxHttpCollectionKeys Property

Gets or sets the maximum number of keys stored in a T: [System.Collections.Specialized.NameValueCollection].

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

Syntax

'Declaration
Public Shared Property MaxHttpCollectionKeys As Integer 
    Get 
    Set
'Usage
Dim value As Integer 

value = MediaTypeFormatter.MaxHttpCollectionKeys 

MediaTypeFormatter.MaxHttpCollectionKeys = value
public static int MaxHttpCollectionKeys { get; set; }
public:
static property int MaxHttpCollectionKeys {
    int get ();
    void set (int value);
}
static member MaxHttpCollectionKeys : int with get, set
static function get MaxHttpCollectionKeys () : int 
static function set MaxHttpCollectionKeys (value : int)

Property Value

Type: System.Int32
The maximum number of keys.

See Also

Reference

MediaTypeFormatter Class

System.Net.Http.Formatting Namespace