Share via


ExtendedProperties.Clear Method

Clears all the ExtendedProperty objects from the ExtendedProperties collection.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As ExtendedProperties

instance.Clear()
public void Clear()
public:
void Clear()
public function Clear()

Remarks

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

Examples

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();

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()

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ExtendedProperties Class

ExtendedProperties Members

Microsoft.Ink Namespace

InkCollector

ExtendedProperty