ExtendedProperties.RemoveAt 方法

移除 ExtendedProperties 集合中指定索引处的 ExtendedProperty 对象。

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

语法

声明
Public Sub RemoveAt ( _
    i As Integer _
)
用法
Dim instance As ExtendedProperties
Dim i As Integer

instance.RemoveAt(i)
public void RemoveAt(
    int i
)
public:
void RemoveAt(
    int i
)
public void RemoveAt(
    int i
)
public function RemoveAt(
    i : int
)

参数

备注

ExtendedProperties 集合是对墨迹数据的一组引用,不是实际数据本身。此方法仅从墨迹数据的快照或对墨迹数据的引用中移除相关的 ExtendedProperty 对象,不移除实际墨迹数据。

示例

此 C# 示例从 Stroke 对象 theStroke 的 ExtendedProperties 集合中移除第一个元素。

theStroke.ExtendedProperties.RemoveAt(0);

此 Microsoft(R) Visual Basic(R) .NET 示例从 Stroke 对象 theStroke 的 ExtendedProperties 集合中移除第一个元素。

theStroke.ExtendedProperties.RemoveAt(0)

平台

Windows Vista

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

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

ExtendedProperties 类

ExtendedProperties 成员

Microsoft.Ink 命名空间

ExtendedProperty