Share via


ContentIsland.GetBySystemVisual(Visual) Method

Definition

Retrieves a ContentIsland object where the specified **Visual** is the root **Visual** or a descendant of the root **Visual**.

public:
 static ContentIsland ^ GetBySystemVisual(Visual ^ child);
 static ContentIsland GetBySystemVisual(Visual const& child);
public static ContentIsland GetBySystemVisual(Visual child);
function getBySystemVisual(child)
Public Shared Function GetBySystemVisual (child As Visual) As ContentIsland

Parameters

child
Visual

The root **Visual** or a descendant of the root **Visual**.

Returns

the ContentIsland where the specified **Visual** is the root **Visual** or a descendant of the root **Visual**, or null if the content island is neither.

If the **Visual** passed in is not associated with the current thread, RPC_E_WRONGTHREAD will be returned.

Applies to