Table of Contents

Method CanCollectionAdd

Namespace
Alternet.FormDesigner.Wpf.XamlDom
Assembly
Alternet.FormDesigner.Wpf.v10.dll

CanCollectionAdd(Type, Type)

Gets if the collection type col can accepts items of type item.

public static bool CanCollectionAdd(Type col, Type item)

Parameters

col Type
item Type

Returns

bool

CanCollectionAdd(Type, IEnumerable)

Gets if the collection type col can accept the specified items.

public static bool CanCollectionAdd(Type col, IEnumerable items)

Parameters

col Type
items IEnumerable

Returns

bool