CodeFieldReferenceExpression Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Initializes a new instance of the CodeFieldReferenceExpression class.
public:
CodeFieldReferenceExpression();
public CodeFieldReferenceExpression ();
Public Sub New ()
Applies to
CodeFieldReferenceExpression(CodeExpression, String)
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.