OracleParameterCollection.Contains 方法
定义
指示集合中是否包含具有指定 OracleParameter 的 Value。Indicates whether an OracleParameter with the specified Value is contained in the collection.
重载
| Contains(OracleParameter) |
确定指定的 OracleParameter 是否在 OracleParameterCollection 中。Determines whether the specified OracleParameter is in the OracleParameterCollection. |
| Contains(Object) |
确定指定的对象是否在 OracleParameterCollection 中。Determines whether the specified object is in the OracleParameterCollection. |
| Contains(String) |
指示集合中是否包含具有指定名称的 OracleParameter。Indicates whether an OracleParameter with the specified name is contained in the collection. |
Contains(OracleParameter)
确定指定的 OracleParameter 是否在 OracleParameterCollection 中。Determines whether the specified OracleParameter is in the OracleParameterCollection.
public:
bool Contains(System::Data::OracleClient::OracleParameter ^ value);
public bool Contains (System.Data.OracleClient.OracleParameter value);
override this.Contains : System.Data.OracleClient.OracleParameter -> bool
Public Function Contains (value As OracleParameter) As Boolean
参数
- value
- OracleParameter
OracleParameter 值。The OracleParameter value.
返回
如果 OracleParameterCollection 包含此值,则为 true;否则为 false。true if the OracleParameterCollection contains the value, false otherwise.
适用于
Contains(Object)
确定指定的对象是否在 OracleParameterCollection 中。Determines whether the specified object is in the OracleParameterCollection.
public:
virtual bool Contains(System::Object ^ value);
public:
override bool Contains(System::Object ^ value);
public bool Contains (object value);
public override bool Contains (object value);
abstract member Contains : obj -> bool
override this.Contains : obj -> bool
override this.Contains : obj -> bool
Public Function Contains (value As Object) As Boolean
Public Overrides Function Contains (value As Object) As Boolean
参数
返回
如果 OracleParameterCollection 包含此值,则为 true;否则为 false。true if the OracleParameterCollection contains the value, false otherwise.
实现
适用于
Contains(String)
指示集合中是否包含具有指定名称的 OracleParameter。Indicates whether an OracleParameter with the specified name is contained in the collection.
public:
virtual bool Contains(System::String ^ parameterName);
public:
override bool Contains(System::String ^ parameterName);
public bool Contains (string parameterName);
public override bool Contains (string parameterName);
abstract member Contains : string -> bool
override this.Contains : string -> bool
override this.Contains : string -> bool
Public Function Contains (parameterName As String) As Boolean
Public Overrides Function Contains (parameterName As String) As Boolean
参数
- parameterName
- String
要在集合中查找的 OracleParameter 的名称。The name of the OracleParameter to look for in the collection.
返回
如果 OracleParameter 位于集合中,则为 true;否则为 false。true if the OracleParameter is in the collection; otherwise, false.