CompositionExtensions.GetSpecializedReference<T> 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.
Create an ExpressionNode reference to this specialized PropertySet.
public static T GetSpecializedReference<T>(this Microsoft.UI.Composition.CompositionPropertySet ps) where T : CommunityToolkit.WinUI.Animations.Expressions.PropertySetReferenceNode;
static member GetSpecializedReference : Microsoft.UI.Composition.CompositionPropertySet -> 'T (requires 'T :> CommunityToolkit.WinUI.Animations.Expressions.PropertySetReferenceNode)
<Extension()>
Public Function GetSpecializedReference(Of T As PropertySetReferenceNode) (ps As CompositionPropertySet) As T
Type Parameters
- T
A class that derives from PropertySetReferenceNode.
Parameters
- ps
- Microsoft.UI.Composition.CompositionPropertySet
The ps.
Returns
T.
Exceptions
Invalid property set specialization