VistaDB 6
VistaDB.Diagnostic Namespace / Errors Class / ContainsValue Method
The value to locate in the System.Collections.Generic.Dictionary`2. The value can be a null reference (Nothing in Visual Basic) for reference types.


In This Topic
    ContainsValue Method
    In This Topic
    Determines whether the System.Collections.Generic.Dictionary`2 contains a specific value.
    Syntax
    'Declaration
     
    
    <__DynamicallyInvokableAttribute()>
    Public Function ContainsValue( _
       ByVal value As System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As Errors
    Dim value As System.String
    Dim value As System.Boolean
     
    value = instance.ContainsValue(value)
    [__DynamicallyInvokable()]
    public System.bool ContainsValue( 
       System.string value
    )

    Parameters

    value
    The value to locate in the System.Collections.Generic.Dictionary`2. The value can be a null reference (Nothing in Visual Basic) for reference types.

    Return Value

    true if the System.Collections.Generic.Dictionary`2 contains an element with the specified value; otherwise, false.
    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