Redigera

Dela via


KnownAssemblyAttribute.TreatTypesAsSerializable Property

Definition

Gets or sets a value indicating whether or not to assume that all types in the specified assembly are serializable.

public bool TreatTypesAsSerializable { get; set; }
member this.TreatTypesAsSerializable : bool with get, set
Public Property TreatTypesAsSerializable As Boolean

Property Value

Remarks

This is equivalent to specifying KnownTypeAttribute for all types.

Applies to