XamlDirect.GetStringProperty(IXamlDirectObject, XamlPropertyIndex) Méthode

Définition

Obtient la valeur d’une propriété string pour un objet IXamlDirectObject spécifique.

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

Paramètres

xamlDirectObject
IXamlDirectObject

Référence au IXamlDirectObject spécifique.

propertyIndex
XamlPropertyIndex

Référence à la propriété string pour obtenir la valeur de à partir de la liste des propriétés prises en charge dans l’énumération XamlPropertyIndex .

Retours

String

Platform::String

winrt::hstring

valeur de chaîne de la propriété spécifiée.

S’applique à

Voir aussi