Editar

Compartilhar via


XamlType.LookupIsWhitespaceSignificantCollection Method

Definition

Returns a value that indicates whether this XamlType represents a whitespace significant collection, as per the XML definition.

protected:
 virtual bool LookupIsWhitespaceSignificantCollection();
protected virtual bool LookupIsWhitespaceSignificantCollection ();
abstract member LookupIsWhitespaceSignificantCollection : unit -> bool
override this.LookupIsWhitespaceSignificantCollection : unit -> bool
Protected Overridable Function LookupIsWhitespaceSignificantCollection () As Boolean

Returns

true if this XamlType represents a white-space significant collection; otherwise, false.

Remarks

This method can be invoked by calls to IsWhitespaceSignificantCollection.

The default implementation returns a value based on reading WhitespaceSignificantCollectionAttribute. It can also check the BaseType for the attribute if no attribute is found on the immediate underlying type. If a value is not available, it returns false.

Override this method if you want IsWhitespaceSignificantCollection to use different logic.

Applies to