Breyta

Deila með


AttachablePropertyServices.CopyPropertiesTo Method

Definition

Copies all attachable property/value pairs from a specified attachable property store and into a destination array.

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

Parameters

instance
Object

A specific attachable property store that implements IAttachedPropertyStore; or any non-null object to access a static default attachable property store.

array
KeyValuePair<AttachableMemberIdentifier,Object>[]

The destination array. The array is a generic array, should be passed undimensioned, and should have components of AttachableMemberIdentifier and object.

index
Int32

The source index into which to copy.

Remarks

Calling this method invokes an underlying CopyTo implementation that is constrained with a key/value pair, which might be the source of exceptions that are not listed in this topic.

Applies to