DisplayClaim.WriteOptionalAttribute Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether the optional attribute will be serialized.

Namespace:   System.IdentityModel.Metadata
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public bool WriteOptionalAttribute { get; set; }

Property Value

Type: System.Boolean

true to serialize the optional attribute; otherwise, false. The default value is false.

.NET Framework
Available since 4.5
Return to top