Sets whether this document is read-only.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function SetReadOnlyState( _
ByVal SetReadOnly As Boolean _
) As Boolean |
| Visual Basic (Usage) | |
|---|
Dim instance As IModelDoc2
Dim SetReadOnly As Boolean
Dim value As Boolean
value = instance.SetReadOnlyState(SetReadOnly)
|
Parameters
- SetReadOnly
True to set this document to be read-only, false to not
Return Value
True if the document is set to read-only, false if not
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0