ExtendedProperties.Clear Method

ExtendedProperties.Clear Method

Clears all the ExtendedProperty objects from the ExtendedProperties collection.

Definition

Visual Basic .NET Public Sub Clear()
C# public void Clear();
Managed C++ public: void Clear();

Remarks

To clear only one ExtendedProperty object at a time, call the ExtendedProperties.Remove method.

Examples

[C#]

This C# example removes all the ExtendedProperty objects from the ExtendedProperties collection of the Ink object associated with an InkCollector object, theInkCollector.

theInkCollector.Ink.ExtendedProperties.Clear();
                

[VB.NET]

This Microsoft® Visual Basic® .NET example removes all the ExtendedProperty objects from the ExtendedProperties collection of the Ink object associated with an InkCollector object, theInkCollector.

theInkCollector.Ink.ExtendedProperties.Clear()
                

See Also