DynamicElement.Item Property

Provides an indexer for the decendent child nodes. This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Xml
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim instance As DynamicElement
Dim index As Integer
Dim value As DynamicElement

value = instance(index)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As DynamicElement
public DynamicElement this [
    int index
] { get; }
public:
property DynamicElement^ default [int] {
    DynamicElement^ get (int index);
}
/** @property */
public DynamicElement get_Item (int index)

Parameters

  • index
    the index of the node requested

Property Value

Returns DynamicElement.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

DynamicElement Class
DynamicElement Members
Microsoft.OneGet.Utility.Xml Namespace