Modifica

Condividi tramite


CodeFieldReferenceExpression Constructors

Definition

Initializes a new instance of the CodeFieldReferenceExpression class.

Overloads

CodeFieldReferenceExpression()

Initializes a new instance of the CodeFieldReferenceExpression class.

CodeFieldReferenceExpression(CodeExpression, String)

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

CodeFieldReferenceExpression()

Source:
CodeFieldReferenceExpression.cs
Source:
CodeFieldReferenceExpression.cs
Source:
CodeFieldReferenceExpression.cs
Source:
CodeFieldReferenceExpression.cs

Initializes a new instance of the CodeFieldReferenceExpression class.

public:
 CodeFieldReferenceExpression();
public CodeFieldReferenceExpression ();
Public Sub New ()

Applies to

CodeFieldReferenceExpression(CodeExpression, String)

Source:
CodeFieldReferenceExpression.cs
Source:
CodeFieldReferenceExpression.cs
Source:
CodeFieldReferenceExpression.cs
Source:
CodeFieldReferenceExpression.cs

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

public:
 CodeFieldReferenceExpression(System::CodeDom::CodeExpression ^ targetObject, System::String ^ fieldName);
public CodeFieldReferenceExpression (System.CodeDom.CodeExpression targetObject, string fieldName);
new System.CodeDom.CodeFieldReferenceExpression : System.CodeDom.CodeExpression * string -> System.CodeDom.CodeFieldReferenceExpression
Public Sub New (targetObject As CodeExpression, fieldName As String)

Parameters

targetObject
CodeExpression

A CodeExpression that indicates the object that contains the field.

fieldName
String

The name of the field.

See also

Applies to