.NET Framework Class Library  

CodeArrayIndexerExpression.TargetObject Property

Gets or sets the target object of the array indexer.

[Visual Basic]
Public Property TargetObject As CodeExpression
[C#]
public CodeExpression TargetObject {get; set;}
[C++]
public: __property CodeExpression* get_TargetObject();
public: __property void set_TargetObject(CodeExpression*);
[JScript]
public function get TargetObject() : CodeExpression;
public function set TargetObject(CodeExpression);

Property Value

A CodeExpression that represents the array being indexed.

Remarks

This property typically contains either a CodeVariableReferenceExpression, a CodePropertyReferenceExpression, or a CodeFieldReferenceExpression.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CodeArrayIndexerExpression Class | CodeArrayIndexerExpression Members | System.CodeDom Namespace