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: ObjectThe value to compare
parameter
Type: ObjectThe parameter to which to compare the value.
culture
Type: CultureInfoThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.