แก้ไข

แชร์ผ่าน


CodeMemberProperty.SetStatements Property

Definition

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.

Applies to

See also