Share via


CompositionPropertySet.TryGetMatrix4x4(String, Matrix4x4) 方法

定義

擷取指定的 Matrix4x4 屬性值。

public:
 virtual CompositionGetValueStatus TryGetMatrix4x4(Platform::String ^ propertyName, [Out] float4x4 & value) = TryGetMatrix4x4;
CompositionGetValueStatus TryGetMatrix4x4(winrt::hstring const& propertyName, [Out] float4x4 & value);
public CompositionGetValueStatus TryGetMatrix4x4(string propertyName, out Matrix4x4 value);
Public Function TryGetMatrix4x4 (propertyName As String, ByRef value As Matrix4x4) As CompositionGetValueStatus

參數

propertyName
String

Platform::String

winrt::hstring

要擷取的屬性名稱。

value
Matrix4x4

float4x4

如果作業成功,這個參數會在方法傳回時包含指定的 Matrix4x4 屬性值。

傳回

會傳回 CompositionGetValueStatus 值,指出擷取索引鍵/值組的結果。

適用於