AttachedShadowElementContext.RemoveResource<T>(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an existing resource with the specified key and type
public T RemoveResource<T> (string key);
member this.RemoveResource : string -> 'T
Public Function RemoveResource(Of T) (key As String) As T
Type Parameters
- T
The type of the resource being removed.
Parameters
- key
- String
Key to use to lookup the resource.
Returns
T
The resource that was removed, if any