Partager via


IAttachedCollectionSource.HasItems Property

Determines whether this IAttachedCollectionSource has any items.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)

Syntax

'Declaration
ReadOnly Property HasItems As Boolean
bool HasItems { get; }
property bool HasItems {
    bool get ();
}
abstract HasItems : bool with get
function get HasItems () : boolean

Property Value

Type: Boolean
Returns true if this IAttachedCollectionSource has any items, otherwise false. Accessing HasItems does not necessarily create the items themselves.

.NET Framework Security

See Also

Reference

IAttachedCollectionSource Interface

Microsoft.VisualStudio.Shell Namespace