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


IKmlLayer.DataPath Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GlobeCore)  

IKmlLayer.DataPath Property

Full pathname of the KML data.

[Visual Basic .NET]
Public Property DataPath As String
[C#]
public string DataPath {get; set;}
[C++]
HRESULT get_DataPath(
  BSTR DataPath
);
[C++]
HRESULT put_DataPath(
  System.String* DataPath
);
[C++]

Parameters DataPath [in]
DataPath is a parameter of type BSTR DataPath [out, retval]
DataPath is a parameter of type BSTR*

Product Availability

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

Description

DataPath can be the UNC or local path of your KML file as a string.

See Also

IKmlLayer Interface

.NET Snippets

Add KML Data to Globe