IXYEvent2FieldsProperties Interface

Provides access to members that define the fields needed to create an XY event layer. A minimum of two fields (X and Y) are required.

Members

Name Description
Read/write property XFieldName The name of the X field.
Read/write property YFieldName The name of the Y field.
Read/write property ZFieldName The name of the Z field (optional).

IXYEvent2FieldsProperties.XFieldName Property

The name of the X field.

Public Property XFieldName As String
public string XFieldName {get; set;}

Remarks

This field specified with this property must have a numeric data type.

IXYEvent2FieldsProperties.YFieldName Property

The name of the Y field.

Public Property YFieldName As String
public string YFieldName {get; set;}

Remarks

This field specified with this property must have a numeric data type.

IXYEvent2FieldsProperties.ZFieldName Property

The name of the Z field (optional).

Public Property ZFieldName As String
public string ZFieldName {get; set;}

Remarks

This field specified with this property must have a numeric data type.

Classes that implement IXYEvent2FieldsProperties

Classes Description
XYEvent2FieldsProperties Defines the fields needed for an xy event layer, requiring atleast X and Y fields.

Remarks

The IXYEvent2FieldsPropertiesinterface has properties for specifying the x field name, the y field name and the z field name. The x and y field name properties are required and must always return valid fields names, while the z field name is optional. The number 2 appears in the interface name because two of the three fields are required.

This information is used when creating a new XY feature class and can be returned from an existing XY feature class.

The fields must have numeric data types. For example, if your coordinates are stored in degrees, minutes and seconds, you need to convert them to decimal degrees and store them in numeric fields. These numeric fields can then be used to create an XY feature class.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.