Share via


DdmArrayProperty.IndexOf Method (String)

 

Determines the index of a specific item in the IList<T>.

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

Syntax

public int IndexOf(
    string item
)
public:
virtual int IndexOf(
    String^ item
) sealed
Public Function IndexOf (
    item As String
) As Integer

Parameters

Return Value

Type: System.Int32

The index of item if found in the list; otherwise, -1.

Implements

IList<T>.IndexOf(T)

See Also

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

Return to top