Udostępnij za pośrednictwem


Właściwość PropertyExpressionObservableCollection.Item —

Pobiera lub ustawia wartość właściwości wyszukiwania.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting
Zestaw:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (w Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

Składnia

'Deklaracja
Public Default Property Item ( _
    propertyName As String _
) As String
public string this[
    string propertyName
] { get; set; }
public:
property String^ default[String^ propertyName] {
    String^ get (String^ propertyName);
    void set (String^ propertyName, String^ value);
}
member Item : 
        propertyName:string -> string with get, set
Język JScript nie obsługuje właściwości indeksowanych.

Parametry

  • propertyName
    Typ: String

Wartość właściwości

Typ: String

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

PropertyExpressionObservableCollection Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting