SupportsPreviewControlAttribute.IsDefaultAttribute Method
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.
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.