CodeMemberProperty.GetStatements Property

 

Gets the collection of get statements for the property.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeStatementCollection GetStatements { get; }

Property Value

Type: System.CodeDom.CodeStatementCollection

A CodeStatementCollection that contains the get statements for the member property.

One of the statements in this CodeStatementCollection should return the value for the member property. Use a CodeMethodReturnStatement to return a value of the data type of the property.

.NET Framework
Available since 1.1
Return to top
Show: