Sets a single control on the page to be read-only. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim control As Control

Me.MakeControlReadOnly(control)

Syntax

Visual Basic
Protected Sub MakeControlReadOnly ( _
		control As Control _
)
C#
protected void MakeControlReadOnly (
		Control control
)
C++
protected:
void MakeControlReadOnly (
		Control^ control
)
J#
protected void MakeControlReadOnly (
		Control control
)
JScript
protected function MakeControlReadOnly (
		control : Control
)

Parameters

control

[in] System.Windows.Forms.Control object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also