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


IARControl.CheckDocument Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARControl Interface > IARControl.CheckDocument Method
ArcGIS Developer Help

IARControl.CheckDocument Method

Checks the document filename to determine if its a valid Published Map File (*.PMF), published with permission to load into the control.

[Visual Basic .NET]
Public Function CheckDocument ( _
    ByVal sFilename As String _
) As Boolean
[C#]
public bool CheckDocument (
    string sFilename
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Determines whether the specified Published Map File (*.pmf) is a valid file and was published with permission to load into the ArcReaderControl. 

See Also

IARControl Interface