This document is archived and information here might be outdated. Recommended version. |
Indicates if the map document is read only.
[Visual Basic .NET]
Public Function get_IsReadOnly ( _
ByVal sDocument As String _
) As Boolean
[C#]
public bool get_IsReadOnly (
string sDocument
);
[C++]
HRESULT get_IsReadOnly(
BSTR sDocument,
Boolean* IsReadOnly
);
[C++] Parameters sDocument [in]
sDocument is a parameter of type BSTR IsReadOnly [out, retval]
IsReadOnly is a parameter of type bool*
Determines whether the specified file is read only. The Save method cannot overwrite a read-only MapDocument, use the SaveAs to write to a new document.