Share via


DataConnectionProperties.ContainsKey Method

Tests whether a specified property is a member of the current set of connection properties.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Function ContainsKey ( _
    key As String _
) As Boolean
public bool ContainsKey(
    string key
)
public:
virtual bool ContainsKey(
    String^ key
) sealed
abstract ContainsKey : 
        key:string -> bool 
override ContainsKey : 
        key:string -> bool 
public final function ContainsKey(
    key : String
) : boolean

Parameters

  • key
    Type: System.String
    Name of the property whose presence is being tested.

Return Value

Type: System.Boolean
true if the specified property is a member of the connection properties collection; otherwise, false.

Implements

IDictionary<TKey, TValue>.ContainsKey(TKey)

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace