Bearbeiten

Freigeben über


XamlType.GetAllAttachableMembers Method

Definition

Returns a collection that contains all the attachable properties that are exposed by this XamlType.

public:
 System::Collections::Generic::ICollection<System::Xaml::XamlMember ^> ^ GetAllAttachableMembers();
public System.Collections.Generic.ICollection<System.Xaml.XamlMember> GetAllAttachableMembers ();
member this.GetAllAttachableMembers : unit -> System.Collections.Generic.ICollection<System.Xaml.XamlMember>
Public Function GetAllAttachableMembers () As ICollection(Of XamlMember)

Returns

A collection that contains zero or more XamlMember values.

Remarks

Each XamlMember in the returned collection should contain values that support the concept that the XamlMember is an attachable member. For example, members should return true for IsAttachable, a type for TargetType, and so on.

If you do not use the default internal CLR reflection technique for a XamlType, calls to this method can invoke LookupAllAttachableMembers overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupAllAttachableMembers on this type.

Applies to