PropertyDataCollection.Remove Method (String)

 
Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

public virtual void Remove(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the property to be removed.

Properties can only be removed from class definitions, not from instances. This method is only valid when invoked on a property collection in a ManagementClass.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: