Share via


DdmArrayProperty.Insert Method (Int32, String)

 

Inserts an item to the IList<T> at the specified index.

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

Syntax

public void Insert(
    int index,
    string item
)
public:
virtual void Insert(
    int index,
    String^ item
) sealed
Public Sub Insert (
    index As Integer,
    item As String
)

Parameters

  • index
    Type: System.Int32

    The zero-based index at which item should be inserted.

Implements

IList<T>.Insert(Int32, T)

Exceptions

Exception Condition
ArgumentOutOfRangeException

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

NotSupportedException

The IList<T> is read-only.

See Also

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

Return to top