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


IKmlChildNodes.KmlNode Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IK > IKmlChildNodes Interface > IKmlChildNodes.KmlNode Property
ArcGIS Developer Help

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