CodeMemberProperty.SetStatements Property


Gets the collection of set statements for the property.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeStatementCollection SetStatements { get; }

Property Value

Type: System.CodeDom.CodeStatementCollection

A CodeStatementCollection that contains the set statements for the member property.

One of the statements in this collection typically sets a value for the property. Often, the statements within a set method accessor perform checking to determine whether to set or translate the specified value for the property. A CodePropertySetValueReferenceExpression represents a reference to the object passed to the set method.

.NET Framework
Available since 1.1
Return to top