AreAllEqualConverter.Convert Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
If all values (including all nulls) are equal (evaluated using Object.Equals), returns true. For any other value combination including null array or empty array, returns false.
If the parameter contains "Not", "!", or "Invert", the result is inverted.
Namespace: Microsoft.TeamFoundation.Controls.WPF.Converters
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Overridable Function Convert ( _
values As Object(), _
targetType As Type, _
parameter As Object, _
culture As CultureInfo _
) As Object
public virtual Object Convert(
Object[] values,
Type targetType,
Object parameter,
CultureInfo culture
)
public:
virtual Object^ Convert(
array<Object^>^ values,
Type^ targetType,
Object^ parameter,
CultureInfo^ culture
)
abstract Convert :
values:Object[] *
targetType:Type *
parameter:Object *
culture:CultureInfo -> Object
override Convert :
values:Object[] *
targetType:Type *
parameter:Object *
culture:CultureInfo -> Object
public function Convert(
values : Object[],
targetType : Type,
parameter : Object,
culture : CultureInfo
) : Object
Parameters
values
Type: array<System.Object[]values
targetType
Type: System.Typeoutput type - Must be bool
parameter
Type: System.Objectcomma-separated options. "Not", "!", or "Invert" to invert the result.
culture
Type: System.Globalization.CultureInfocaller culture
Return Value
Type: System.Object
bool
Implements
IMultiValueConverter.Convert(Object[], Type, Object, CultureInfo)
.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.