CompositionObject.PopulatePropertyInfo(String, AnimationPropertyInfo) 方法

定义

定义可进行动画处理的属性。

public:
 virtual void PopulatePropertyInfo(Platform::String ^ propertyName, AnimationPropertyInfo ^ propertyInfo) = PopulatePropertyInfo;
void PopulatePropertyInfo(winrt::hstring const& propertyName, AnimationPropertyInfo const& propertyInfo);
public void PopulatePropertyInfo(string propertyName, AnimationPropertyInfo propertyInfo);
function populatePropertyInfo(propertyName, propertyInfo)
Public Sub PopulatePropertyInfo (propertyName As String, propertyInfo As AnimationPropertyInfo)

参数

propertyName
String

Platform::String

winrt::hstring

可进行动画处理的属性。

propertyInfo
AnimationPropertyInfo

有关要进行动画处理的属性的信息。

实现

M:Windows.UI.Composition.IAnimationObject.PopulatePropertyInfo(System.String,Windows.UI.Composition.AnimationPropertyInfo) M:Windows.UI.Composition.IAnimationObject.PopulatePropertyInfo(Platform::String,Windows.UI.Composition.AnimationPropertyInfo) M:Windows.UI.Composition.IAnimationObject.PopulatePropertyInfo(winrt::hstring,Windows.UI.Composition.AnimationPropertyInfo)

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

适用于