ObjectStatementCollection.Item[Object] Property

Definition

Gets the statement collection for the given owner.

public:
 property System::CodeDom::CodeStatementCollection ^ default[System::Object ^] { System::CodeDom::CodeStatementCollection ^ get(System::Object ^ statementOwner); };
public System.CodeDom.CodeStatementCollection this[object statementOwner] { get; }
public System.CodeDom.CodeStatementCollection? this[object statementOwner] { get; }
member this.Item(obj) : System.CodeDom.CodeStatementCollection
Default Public ReadOnly Property Item(statementOwner As Object) As CodeStatementCollection

Parameters

statementOwner
Object

The owner of the statement collection.

Property Value

The statement collection for statementOwner, or null if statementOwner is not in the table.

Exceptions

statementOwner is null.

Applies to

See also