DataContractSerializerElement.MaxItemsInObjectGraph Propriedade

Definição

Obtém ou define o número máximo de itens a serem serializados ou desserializados.Gets or sets the maximum number of items to serialize or deserialize.

public:
 property int MaxItemsInObjectGraph { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxItemsInObjectGraph", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxItemsInObjectGraph { get; set; }
[<System.Configuration.ConfigurationProperty("maxItemsInObjectGraph", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxItemsInObjectGraph : int with get, set
Public Property MaxItemsInObjectGraph As Integer

Valor da propriedade

Int32

O número máximo de itens a serem serializados ou desserializados.The maximum number of items to serialize or deserialize. O padrão é 65536.The default is 65536.

Atributos

Aplica-se a