CodeFieldReferenceExpression Constructor (CodeExpression, String)

 

Initializes a new instance of the CodeFieldReferenceExpression class using the specified target object and field name.

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

public CodeFieldReferenceExpression(
	CodeExpression targetObject,
	string fieldName
)

Parameters

targetObject
Type: System.CodeDom.CodeExpression

A CodeExpression that indicates the object that contains the field.

fieldName
Type: System.String

The name of the field.

.NET Framework
Available since 1.1
Return to top
Show: