Reset Method
Collapse the table of content
Expand the table of content

PropertyMap.Reset Method (String)

 

Restores the default property mapping for the given property.

Namespace:   System.Windows.Forms.Integration
Assembly:  WindowsFormsIntegration (in WindowsFormsIntegration.dll)

public void Reset(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the property to restore.

Exception Condition
ArgumentNullException

propertyName is null.

The Reset method has the following effects on the PropertyMap.

  • A default property mapping that has been removed is restored.

  • A property mapping that has been added is removed.

  • A default property mapping that has been overridden is restored to its default value.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft