編輯

共用方式為


XamlType.IsDictionary Property

Definition

Gets a value that indicates whether this XamlType represents a dictionary, as per the XAML definition.

public:
 property bool IsDictionary { bool get(); };
public bool IsDictionary { get; }
member this.IsDictionary : bool
Public ReadOnly Property IsDictionary As Boolean

Property Value

true if this XamlType represents a dictionary; otherwise, false.

Remarks

This property aligns to the [is dictionary] information item in the [MS-XAML] specification.

If you do not use the default internal CLR reflection technique for a XamlType, calls to this property can invoke LookupCollectionKind overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupCollectionKind on this type.

Applies to