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


IARConfiguration.Save Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

IARConfiguration.Save Method

Saves each of the control's current configuration settings into the specified file.

[Visual Basic .NET]
Public Sub Save ( _
    ByVal sFilename As String _
)
[C#]
public void Save (
    string sFilename
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Saves the current ARConfiguration used by the ArcReaderControl to a binary file with the specified filename. If no file extension is specified the file will automatically be given the ArcReader Template extension (*.art).

Errors Returned

2000 800A07D0: Template file not found 

2125 800A084D: The specified path is invalid 

See Also

IARConfiguration Interface