SupportsPreviewControlAttribute.IsDefaultAttribute Method

Definition

Indicates whether the current instance of the SupportsPreviewControlAttribute class is set to the default preview attribute value.

public:
 override bool IsDefaultAttribute();
public override bool IsDefaultAttribute ();
override this.IsDefaultAttribute : unit -> bool
Public Overrides Function IsDefaultAttribute () As Boolean

Returns

true if the current instance of SupportsPreviewControlAttribute is equal to the default preview attribute value; otherwise, false.

Remarks

The IsDefaultAttribute method compares the value for the SupportsPreviewControl property of the current SupportsPreviewControlAttribute object with the value for the SupportsPreviewControl property of the static Default field.

Applies to

See also