Padding.Equality(Padding, Padding) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tests whether two specified Padding objects are equivalent.
public:
static bool operator ==(System::Windows::Forms::Padding p1, System::Windows::Forms::Padding p2);
public static bool operator == (System.Windows.Forms.Padding p1, System.Windows.Forms.Padding p2);
static member ( = ) : System.Windows.Forms.Padding * System.Windows.Forms.Padding -> bool
Public Shared Operator == (p1 As Padding, p2 As Padding) As Boolean
Parameters
Returns
true
if the two Padding objects are equal; otherwise, false
.
Remarks
Two Padding objects are equal if the padding values for each of the four edges - Left, Right, Top, and Bottom - are the same for both objects.
The equivalent method for this operator is Padding.Equals
Applies to
See also
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.