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.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應