CodeMemberProperty.SetStatements Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of set
statements for the property.
public:
property System::CodeDom::CodeStatementCollection ^ SetStatements { System::CodeDom::CodeStatementCollection ^ get(); };
public System.CodeDom.CodeStatementCollection SetStatements { get; }
member this.SetStatements : System.CodeDom.CodeStatementCollection
Public ReadOnly Property SetStatements As CodeStatementCollection
Property Value
A CodeStatementCollection that contains the set
statements for the member property.
Remarks
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.