ExtendedProperties.Clear 方法

ExtendedProperties 集合中清除所有 ExtendedProperty 对象。

命名空间:  Microsoft.Ink
程序集:  Microsoft.Ink(在 Microsoft.Ink.dll 中)

语法

声明
Public Sub Clear
用法
Dim instance As ExtendedProperties

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

备注

若要一次仅清除一个 ExtendedProperty 对象,请调用 Remove 方法。

示例

此 C# 示例从与 InkCollector 对象 theInkCollector 关联的 Ink 对象的 ExtendedProperties 集合中移除所有 ExtendedProperty 对象。

theInkCollector.Ink.ExtendedProperties.Clear();

此 Microsoft(R) Visual Basic(R) .NET 示例从与 InkCollector 对象 theInkCollector 关联的 Ink 对象的 ExtendedProperties 集合中移除所有 ExtendedProperty 对象。

theInkCollector.Ink.ExtendedProperties.Clear()

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

ExtendedProperties 类

ExtendedProperties 成员

Microsoft.Ink 命名空间

InkCollector

ExtendedProperty