Share via


StorableColorTheme.Equality(StorableColorTheme, StorableColorTheme) Operator

Definition

This operator overload allows the caller to compare two themes by value, excluding the Name property

public:
 static bool operator ==(Microsoft::Windows::PowerShell::Gui::Internal::StorableColorTheme ^ left, Microsoft::Windows::PowerShell::Gui::Internal::StorableColorTheme ^ right);
 static bool operator ==(Microsoft::Windows::PowerShell::Gui::Internal::StorableColorTheme const & left, Microsoft::Windows::PowerShell::Gui::Internal::StorableColorTheme const & right);
public static bool operator == (Microsoft.Windows.PowerShell.Gui.Internal.StorableColorTheme left, Microsoft.Windows.PowerShell.Gui.Internal.StorableColorTheme right);
static member ( = ) : Microsoft.Windows.PowerShell.Gui.Internal.StorableColorTheme * Microsoft.Windows.PowerShell.Gui.Internal.StorableColorTheme -> bool
Public Shared Operator == (left As StorableColorTheme, right As StorableColorTheme) As Boolean

Parameters

left
StorableColorTheme

One of the themes to compare

right
StorableColorTheme

The other theme

Returns

True or False, depending on whether the contents are the same

Applies to