Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OptionalFieldAttribute.VersionAdded Property

Definition

Namespace:
System.Runtime.Serialization
Assemblies:
netstandard.dll, System.Runtime.dll
Assembly:
System.Runtime.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
OptionalFieldAttribute.cs
Source:
OptionalFieldAttribute.cs
Source:
OptionalFieldAttribute.cs
Source:
OptionalFieldAttribute.cs
Source:
OptionalFieldAttribute.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets a version number to indicate when the optional field was added.

public:
 property int VersionAdded { int get(); void set(int value); };
public int VersionAdded { get; set; }
member this.VersionAdded : int with get, set
Public Property VersionAdded As Integer

Property Value

The version of the OptionalFieldAttribute.

Remarks

Setting this property does not affect serialization. This property is currently unused.

Applies to


Feedback

Was this page helpful?