مشاركة عبر


XamlDirect.GetStringProperty(IXamlDirectObject, XamlPropertyIndex) Method

Definition

Gets the value of a string property for a specific IXamlDirectObject.

public:
 virtual Platform::String ^ GetStringProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex) = GetStringProperty;
winrt::hstring GetStringProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex);
public string GetStringProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex);
function getStringProperty(xamlDirectObject, propertyIndex)
Public Function GetStringProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex) As String

Parameters

xamlDirectObject
IXamlDirectObject

A reference to the specific IXamlDirectObject.

propertyIndex
XamlPropertyIndex

A reference to the string property to get the value of from the list of supported properties in XamlPropertyIndex enum.

Returns

String

Platform::String

winrt::hstring

string value of the specified property.

Applies to

See also