PropertyBuilder::CanWrite Property

 

Gets a value indicating whether the property can be written to.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public:
property bool CanWrite {
	virtual bool get() override;
}

Property Value

Type: System::Boolean

true if this property can be written to; otherwise, false.

Boolean property indicating if the property can be written to. If the property does not have a set accessor, it cannot be written to.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: