Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.37 KB

ixamldirect_removefromcollection_2015158471.md

File metadata and controls

38 lines (22 loc) · 1.37 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Core.Direct.IXamlDirect.RemoveFromCollection(System.Object,System.Object)
winrt method

Microsoft.UI.Xaml.Core.Direct.IXamlDirect.RemoveFromCollection(System.Object,System.Object)

-description

Tries to remove a value from the specified IXamlDirect collection.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

-parameters

-param xamlDirectObject

Refers to the specific IXamlDirect collection.

-param value

Refers to the IXamlDirect value to remove from the collection.

-returns

true if value was present. Otherwise, false.

-remarks

-see-also

IXamlDirect.InsertIntoCollectionAt(System.Object,System.UInt32,System.Object), IXamlDirect.AddToCollection(System.Object,System.Object), IXamlDirect.RemoveFromCollectionAt(System.Object,System.UInt32), IXamlDirect.ClearCollection(System.Object)

-examples