Gets a Boolean value that determines whether a value for the given data exists. Namespace: Microsoft.EnterpriseManagement.UI
Assembly: Microsoft.EnterpriseManagement.UI.Extensibility (in microsoft.enterprisemanagement.ui.extensibility.dll)

Usage

Visual Basic
Dim instance As ISharedData
Dim dataKey As String
Dim returnValue As Boolean

returnValue = instance.ContainsKey(dataKey)

Syntax

Visual Basic
Function ContainsKey ( _
		dataKey As String _
) As Boolean
C#
bool ContainsKey (
		string dataKey
)
C++
bool ContainsKey (
		String^ dataKey
)
J#
boolean ContainsKey (
		String dataKey
)
JScript
function ContainsKey (
		dataKey : String
) : boolean

Parameters

dataKey

The name of the data to check a value for.

Return Value

true if a value for the given data exists; otherwise, false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also