Nevron .NET Vision
Nevron.UI Namespace / INUIElementHost Interface / CanHostElement Method
The element to examine.


In This Topic
    CanHostElement Method (INUIElementHost)
    In This Topic
    Determines whether the specified element may be hosted on that host.
    Syntax
    'Declaration
     
    
    Function CanHostElement( _
       ByVal element As INUIElement _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As INUIElementHost
    Dim element As INUIElement
    Dim value As System.Boolean
     
    value = instance.CanHostElement(element)
    System.bool CanHostElement( 
       INUIElement element
    )

    Parameters

    element
    The element to examine.

    Return Value

    True if element can be hosted, false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also