SerializeAbsoluteContext Constructors

Definition

Initializes a new instance of the SerializeAbsoluteContext class.

Overloads

SerializeAbsoluteContext()

Initializes a new instance of the SerializeAbsoluteContext class.

SerializeAbsoluteContext(MemberDescriptor)

Initializes a new instance of the SerializeAbsoluteContext class with the option of binding to a specific member.

SerializeAbsoluteContext()

Source:
SerializeAbsoluteContext.cs
Source:
SerializeAbsoluteContext.cs
Source:
SerializeAbsoluteContext.cs

Initializes a new instance of the SerializeAbsoluteContext class.

C#
public SerializeAbsoluteContext();

Remarks

Using the parameterless constructor indicates that this context should be used for all members.

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SerializeAbsoluteContext(MemberDescriptor)

Source:
SerializeAbsoluteContext.cs
Source:
SerializeAbsoluteContext.cs
Source:
SerializeAbsoluteContext.cs

Initializes a new instance of the SerializeAbsoluteContext class with the option of binding to a specific member.

C#
public SerializeAbsoluteContext(System.ComponentModel.MemberDescriptor member);
C#
public SerializeAbsoluteContext(System.ComponentModel.MemberDescriptor? member);

Parameters

member
MemberDescriptor

The member to which this context is bound. Can be null.

Remarks

If member is null, this context will be used for all members.

See also

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10