Marks a property as optional.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
[SerializableAttribute]
public sealed class OptionalAttribute : Attribute
Visual Basic
<SerializableAttribute>
Public NotInheritable Class OptionalAttribute
	Inherits Attribute

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    CodeSmith.Engine..::..OptionalAttribute

See Also