Compartir a través de


VisibleIfNotEqualValueConverter.Convert Method (Object, Object, CultureInfo)

Converts a value to a visibility.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overrides Function Convert ( _
    value As Object, _
    parameter As Object, _
    culture As CultureInfo _
) As Visibility
protected override Visibility Convert(
    Object value,
    Object parameter,
    CultureInfo culture
)
protected:
virtual Visibility Convert(
    Object^ value, 
    Object^ parameter, 
    CultureInfo^ culture
) override
abstract Convert : 
        value:Object * 
        parameter:Object * 
        culture:CultureInfo -> Visibility  
override Convert : 
        value:Object * 
        parameter:Object * 
        culture:CultureInfo -> Visibility
protected override function Convert(
    value : Object, 
    parameter : Object, 
    culture : CultureInfo
) : Visibility

Parameters

  • value
    Type: Object

    The value to compare

  • parameter
    Type: Object

    The parameter to which to compare the value.

  • culture
    Type: CultureInfo

    The culture in which to perform the comparison.

Return Value

Type: Visibility
If the values are not equal, returns Visible, otherwise returns VisibilityIfNotEqual.

.NET Framework Security

See Also

Reference

VisibleIfNotEqualValueConverter Class

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace