Partager via


SilverlightControl.GetPropertyAsString, méthode

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

Espace de noms :  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (dans Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)

Syntaxe

'Déclaration
Public Overridable Function GetPropertyAsString ( _
    propertyName As String _
) As String
public virtual string GetPropertyAsString(
    string propertyName
)
public:
virtual String^ GetPropertyAsString(
    String^ propertyName
)
abstract GetPropertyAsString : 
        propertyName:string -> string 
override GetPropertyAsString : 
        propertyName:string -> string 
public function GetPropertyAsString(
    propertyName : String
) : String

Paramètres

  • propertyName
    Type : System.String
    Nom de la propriété à obtenir.

Valeur de retour

Type : System.String
String qui représente la valeur de la propriété.

Sécurité .NET Framework

Voir aussi

Référence

SilverlightControl Classe

Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls, espace de noms