Version

ShouldSerializeReadOnly Method

Returns a Boolean value that determines whether the ReadOnly property is set to its default value.

Syntax
'Declaration
 
Protected Function ShouldSerializeReadOnly() As Boolean
protected bool ShouldSerializeReadOnly()

Return Value

Boolean indicating whether the property should be serialized
Remarks

Returns True if the ReadOnly property is not set to its default value; otherwise, it returns False.

Invoke the ResetReadOnly method to reset this property to its default value.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also