This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IK > IKmlChildNodes Interface > IKmlChildNodes.KmlNode Property (ArcObjects .NET 10.4 SDK) |
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
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]