'Declaration
Public Shared Sub GetChildrenOfType( _ ByVal reference As DependencyObject, _ ByVal type As Type, _ ByRef list As IList(Of DependencyObject) _ )
'Usage
Dim reference As DependencyObject Dim type As Type Dim list As IList(Of DependencyObject) VTreeHelper.GetChildrenOfType(reference, type, list)
public static void GetChildrenOfType( DependencyObject reference, Type type, ref IList<DependencyObject> list )
public: static void GetChildrenOfType( DependencyObject^ reference, Type^ type, IList<DependencyObject^>^% list )
Parameters
- reference
- The parent visual, referenced as a System.Windows.DependencyObject.
- type
- The System.Type of the children element to search for.
- list
- The IList object to fill with found objects.