다음을 통해 공유


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 void Clear ()
public function Clear ()
Not applicable.

Remarks

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

Example

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

ExtendedProperties Class
ExtendedProperties Members
Microsoft.Ink Namespace
InkCollector
ExtendedProperty