IAttachedPropertyStore.CopyPropertiesTo 方法

定义

从此可附加成员存储区中复制所有可附加成员/值对,并将它们复制到目标数组中。

public:
 void CopyPropertiesTo(cli::array <System::Collections::Generic::KeyValuePair<System::Xaml::AttachableMemberIdentifier ^, System::Object ^>> ^ array, int index);
public void CopyPropertiesTo (System.Collections.Generic.KeyValuePair<System.Xaml.AttachableMemberIdentifier,object>[] array, int index);
abstract member CopyPropertiesTo : System.Collections.Generic.KeyValuePair<System.Xaml.AttachableMemberIdentifier, obj>[] * int -> unit
Public Sub CopyPropertiesTo (array As KeyValuePair(Of AttachableMemberIdentifier, Object)(), index As Integer)

参数

array
KeyValuePair<AttachableMemberIdentifier,Object>[]

目标数组。 该数组为泛型数组,应以无维度方式传递,并且应具有 AttachableMemberIdentifierobject 的组件。

index
Int32

开始复制处的源索引。

适用于