Partager via


ContentIsland.FindAllForCompositor(Compositor) Method

Definition

Returns all ContentIsland objects associated with the specified Microsoft.UI.Composition.Compositor.

public:
 static Platform::Array <ContentIsland ^> ^ FindAllForCompositor(Compositor ^ compositor);
 static winrt::array_view <ContentIsland const&> FindAllForCompositor(Compositor const& compositor);
public static ContentIsland[] FindAllForCompositor(Compositor compositor);
function findAllForCompositor(compositor)
Public Shared Function FindAllForCompositor (compositor As Compositor) As ContentIsland()

Parameters

compositor
Compositor

The compositor of interest.

Returns

Remarks

ContentIsland objects that still have outstanding memory references will not be included.

If the specified compositor is not associated with the calling thread, RPC_E_WRONGTHREAD is returned.

Applies to