-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Core.Direct.IXamlDirect.RemoveFromCollection(System.Object,System.Object) |
winrt method |
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).
Refers to the specific IXamlDirect collection.
Refers to the IXamlDirect value to remove from the collection.
true if value was present. Otherwise, false.
IXamlDirect.InsertIntoCollectionAt(System.Object,System.UInt32,System.Object), IXamlDirect.AddToCollection(System.Object,System.Object), IXamlDirect.RemoveFromCollectionAt(System.Object,System.UInt32), IXamlDirect.ClearCollection(System.Object)