CodePropertyReferenceExpression Constructor (CodeExpression, String)

 

Initializes a new instance of the CodePropertyReferenceExpression class using the specified target object and property name.

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

public CodePropertyReferenceExpression(
	CodeExpression targetObject,
	string propertyName
)

Parameters

targetObject
Type: System.CodeDom.CodeExpression

A CodeExpression that indicates the object that contains the property to reference.

propertyName
Type: System.String

The name of the property to reference.

.NET Framework
Available since 1.1
Return to top
Show: