CodeMemberProperty.SetStatements 属性

定义

获取属性的语句集合 set

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

属性值

包含CodeStatementCollection成员属性的语句的 Aset

注解

此集合中的一个语句通常设置属性的值。 通常,set 方法访问器中的语句执行检查以确定是设置还是转换属性的指定值。 表示 CodePropertySetValueReferenceExpression 对传递给 set 方法的对象的引用。

适用于

另请参阅