ArcGIS API for WPF - Library Reference
SetSource Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit.DataSources Namespace > KmlLayer Class : SetSource Method

stream
A stream to a KML or KMZ file.
Sets the KML stream source.

Syntax

Visual Basic (Declaration) 
Public Sub SetSource( _
   ByVal stream As Stream _
) 
C# 
public void SetSource( 
   Stream stream
)

Parameters

stream
A stream to a KML or KMZ file.

Remarks

Use this method if you need to load KML from a local file or file stream.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.