PropertyGeneratedEventArgs.AdditionalGetStatements Свойство

Определение

List(CodeStatement) Возвращает содержащий инструкции get, добавляемые в свойство.

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)

Значение свойства

Коллекция, содержащая инструкции get, добавляемые в свойство.

Комментарии

Используется List(CodeStatement) для указания инструкций, добавляемых в метод доступа свойства. Операторы вставляются после того, как OnPropertyGenerated событие вызывается.

Применяется к

См. также раздел