RelationshipEndAttributeCollection.IndexOf Method (String)
Reports the index of the first occurrence of the specified string in this instance.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function IndexOf ( _
attributeId As String _
) As Integer
'Usage
Dim instance As RelationshipEndAttributeCollection
Dim attributeId As String
Dim returnValue As Integer
returnValue = instance.IndexOf(attributeId)
public int IndexOf(
string attributeId
)
public:
int IndexOf(
String^ attributeId
)
member IndexOf :
attributeId:string -> int
public function IndexOf(
attributeId : String
) : int
Parameters
- attributeId
Type: System.String
The id of the attribute.
Return Value
Type: System.Int32
The index of the first occurrence of the specified string in this instance.