Nevron.UI.WinForm Namespace / NControlHelper Class / GetParentTypeOccurances Method


In This Topic
    GetParentTypeOccurances Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function GetParentTypeOccurances( _
       ByVal child As System.Windows.Forms.Control, _
       ByVal parentType As System.Type _
    ) As System.Integer
    'Usage
     
    
    Dim child As System.Windows.Forms.Control
    Dim parentType As System.Type
    Dim value As System.Integer
     
    value = NControlHelper.GetParentTypeOccurances(child, parentType)
    public static System.int GetParentTypeOccurances( 
       System.Windows.Forms.Control child,
       System.Type parentType
    )

    Parameters

    child
    parentType
    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