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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.