Compartir a través de


ISharedData.ContainsKey Method

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

'Usage
Dim instance As ISharedData
Dim dataKey As String
Dim returnValue As Boolean

returnValue = instance.ContainsKey(dataKey)

Syntax

'Declaration
Function ContainsKey ( _
    dataKey As String _
) As Boolean
bool ContainsKey (
    string dataKey
)
bool ContainsKey (
    String^ dataKey
)
boolean ContainsKey (
    String dataKey
)
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

Reference

ISharedData Interface
ISharedData Members
Microsoft.EnterpriseManagement.UI Namespace

Send comments about this topic to Microsoft.