PropertyDataCollection::Remove Method (String^)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

virtual void Remove(
	String^ 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