SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip.Sdp
AttributeCollection Class
AttributeCollection Methods
IndexOf Method
IndexOf Method (String)
IndexOf Method (Attribute)

# AttributeCollection IndexOf Method (String)

Returns the zero-based index of the first occurrence of the specified attribute in the collection.

Namespace: Independentsoft.Sip.Sdp
Assembly: Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
C#
VB
Copy

    public int IndexOf(
    	string attribute
    )

    Public Function IndexOf (
    	attribute As String
    ) As Integer

#### Parameters

attribute
  Type: System
  String
  The attribute to locate in the collection.

#### Return Value

Type: Int32
The first index of the Attribute in the collection or -1 if the node is not found in the collection.
See Also

#### Reference

AttributeCollection Class
IndexOf Overload
Independentsoft.Sip.Sdp Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de