DynamicElement Class

Represents a dynamic interface to an XElement. This provides simplified access to XML Documents using c# 4.0 by using dynamic keywords and easier access when using XPath. 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

Syntax

'Declaration
<DefaultMemberAttribute("Item")> _
Public Class DynamicElement
    Inherits DynamicObject
    Implements IEnumerable(Of DynamicElement), IEnumerable
[DefaultMemberAttribute("Item")] 
public class DynamicElement : DynamicObject, IEnumerable<DynamicElement>, IEnumerable
[DefaultMemberAttribute(L"Item")] 
public ref class DynamicElement : public DynamicObject, IEnumerable<DynamicElement^>, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
public class DynamicElement extends DynamicObject implements IEnumerable<DynamicElement>, 
    IEnumerable
DefaultMemberAttribute("Item") 
public class DynamicElement extends DynamicObject implements IEnumerable<DynamicElement>, 
    IEnumerable

Inheritance Hierarchy

System.Object
   System.Dynamic.DynamicObject
    Microsoft.OneGet.Utility.Xml.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 Members
Microsoft.OneGet.Utility.Xml Namespace