Share via


DdmArrayProperty.Item Property (Int32)

 

Gets or sets the element at the specified index.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages.Server
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public string this[
    int index
] { get; set; }
public:
property String^ default[
    int index
] {
    virtual String^ get(int index) sealed;
    virtual void set(int index, String^ value) sealed;
}
Public Property Item (
    index As Integer
) As String

Parameters

  • index
    Type: System.Int32

    The zero-based index of the element to get or set.

Property Value

Type: System.String

The element at the specified index.

Implements

IList<T>.Item[Int32]

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The property is set and the IList<T> is read-only.

See Also

DdmArrayProperty Class
Microsoft.ConfigurationManagement.Messaging.Messages.Server Namespace

Return to top