XamlDirect.SetStringProperty Méthode

Définition

Définit la valeur d’une propriété de chaîne pour un objet IXamlDirectObject spécifique.

public:
 virtual void SetStringProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Platform::String ^ value) = SetStringProperty;
void SetStringProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, winrt::hstring const& value);
public void SetStringProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, string value);
function setStringProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetStringProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As String)

Paramètres

xamlDirectObject
IXamlDirectObject

Référence au IXamlDirectObject spécifique.

propertyIndex
XamlPropertyIndex

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

value
String

Platform::String

winrt::hstring

valeur de chaîne à définir sur la propriété spécifiée.

S’applique à

Voir aussi