PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Property­Declaration Class / Property­Declaration Properties / Property­Declaration.​Default­Value Property

PropertyDeclaration.DefaultValue Property

Gets or sets the default value.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public SerializedValue DefaultValue { get; set; }

Property Value

Type: SerializedValue
A SerializedValue, or null if the property has no default value.
See Also