ContentIsland.GetBySystemVisual(Visual) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.