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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.