CodeMemberMethod.Statements 屬性

定義

取得方法中的陳述式 (Statement)。Gets the statements within the method.

public:
 property System::CodeDom::CodeStatementCollection ^ Statements { System::CodeDom::CodeStatementCollection ^ get(); };
public System.CodeDom.CodeStatementCollection Statements { get; }
member this.Statements : System.CodeDom.CodeStatementCollection
Public ReadOnly Property Statements As CodeStatementCollection

屬性值

CodeStatementCollection,表示方法中的陳述式。A CodeStatementCollection that indicates the statements within the method.

適用於

另請參閱