This document is archived and information here might be outdated.  Recommended version.


IKmlChildNodes.KmlNode Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GlobeCore)  

IKmlChildNodes.KmlNode Property

Get the KmlNodes at index.

[Visual Basic .NET]
Public Function get_KmlNode ( _
    ByVal index As Integer _
) As IKmlNode
[C#]
public IKmlNode get_KmlNode (
    int index
);
[C++]
HRESULT get_KmlNode(
  long index,
  IKmlNode** ppKmlNode
);
[C++]

Parameters index [in] index is a parameter of type long ppKmlNode [out, retval]
ppKmlNode is a parameter of type IKmlNode

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This method can be used to retrieve a KML node at a particular index. To determine the total number of KML nodes in the collection use the property IKmlChildNodes.KmlNodeCount

You can retrieve all the KML nodes in the KML layer by iterating between [0] and [IKmlChildNodes.KmlNodeCount - 1]

See Also

IKmlChildNodes Interface