Redigera

Dela via


PropertyGeneratedEventArgs.AdditionalGetStatements Property

Definition

Gets a List(CodeStatement) containing the get statements to be added to the property.

public:
 property System::Collections::Generic::List<System::CodeDom::CodeStatement ^> ^ AdditionalGetStatements { System::Collections::Generic::List<System::CodeDom::CodeStatement ^> ^ get(); };
public System.Collections.Generic.List<System.CodeDom.CodeStatement> AdditionalGetStatements { get; }
member this.AdditionalGetStatements : System.Collections.Generic.List<System.CodeDom.CodeStatement>
Public ReadOnly Property AdditionalGetStatements As List(Of CodeStatement)

Property Value

A collection that contains the get statements to be added to the property.

Remarks

The List(CodeStatement) is used to specify statements to add to the get accessor of the property. The statements are inserted after the OnPropertyGenerated event is raised.

Applies to

See also