ArcGIS Runtime SDK for WPF - Library Reference
SetSource Method
See Also 
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
)

Remarks

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

Parameters

stream
A stream to a KML or KMZ file.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.