共用方式為


CodeTryCatchFinallyStatement.TryStatements 屬性

定義

取得要嘗試的陳述式。

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

屬性值

CodeStatementCollection,表示要嘗試的 Try 陳述式。

適用於

另請參閱