Exception | Description |
---|---|
System.ArgumentNullException | Thrown when array is the null reference (Nothing in Visual Basic .NET). |
System.ArgumentOutOfRangeException | Thrown when index is less than zero. |
System.ArgumentException | Thrown when array has more than one-dimension, index exceeds the capacity of array, or Count (the number of IUIHierarchyNode instances contained) is greater than the available space in array starting from index through to the end of array. |
System.InvalidCastException | Thrown when array is strongly-typed and the IUIHierarchyNode type cannot be cast to the type of items within array. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, 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