Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Searches for a SyncParameter object when given a parameter name, and returns the zero-based index of the first occurrence within the entire collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public Function IndexOf ( _
parameterName As String _
) As Integer
'Usage
Dim instance As SyncParameterCollection
Dim parameterName As String
Dim returnValue As Integer
returnValue = instance.IndexOf(parameterName)
public int IndexOf (
string parameterName
)
public:
int IndexOf (
String^ parameterName
)
public int IndexOf (
String parameterName
)
public function IndexOf (
parameterName : String
) : int
Parameters
- parameterName
The name of the parameter. Specify the name to determine the zero-based index of the SyncParameter in the SyncParameterCollection.
Return Value
The index position of parameterName if that string is found; otherwise -1.
See Also
Reference
SyncParameterCollection Class
SyncParameterCollection Members
Microsoft.Synchronization.Data Namespace