VistaDB 6
VistaDB.Provider Namespace / VistaDBParameterCollection Class / IndexOf Method / IndexOf(String) Method
The name of the System.Data.Common.DbParameter object in the collection.The name of the VistaDBParameter object in the collection.


In This Topic
    IndexOf(String) Method
    In This Topic
    Returns the index of the System.Data.Common.DbParameter object with the specified name. Returns the index of the VistaDBParameter object with the specified name.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides NotOverridable Function IndexOf( _
       ByVal parameterName As System.String _
    ) As System.Integer
    'Usage
     
    
    Dim instance As VistaDBParameterCollection
    Dim parameterName As System.String
    Dim value As System.Integer
     
    value = instance.IndexOf(parameterName)
    public override System.int IndexOf( 
       System.string parameterName
    )

    Parameters

    parameterName
    The name of the System.Data.Common.DbParameter object in the collection.The name of the VistaDBParameter object in the collection.

    Return Value

    The index of the System.Data.Common.DbParameter object with the specified name.The index of the VistaDBParameter object with the specified name.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also