Point2d.Item Property

Indexing a point returns x for index 0, and y for index 1. This is to be more compatible with old c-style code.
Public Property Item( _ 
ByVal idx As Integer
) As Double
This language is not supported or no code example is available.
public double this[ 
int idx 
] {get; set;}
This language is not supported or no code example is available.
public:  
property double Item[int] { 
double get( 
int idx 
); 
void set( 
int idx
double value 
); 
}
This language is not supported or no code example is available.
JScript suports the use of indexed properties, but not the declaration of new ones.
This language is not supported or no code example is available.

Parameters

idx
int

Property Value

double

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition