Konstruktor UITestPropertyDescriptor — (Type, UITestPropertyAttributes, String)
Inicjuje nowe wystąpienie UITestPropertyDescriptor klasy określone uprawnienia i kategorii.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITesting
Zestaw: Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)
Składnia
'Deklaracja
Public Sub New ( _
dataType As Type, _
attributes As UITestPropertyAttributes, _
category As String _
)
public UITestPropertyDescriptor(
Type dataType,
UITestPropertyAttributes attributes,
string category
)
public:
UITestPropertyDescriptor(
Type^ dataType,
UITestPropertyAttributes attributes,
String^ category
)
new :
dataType:Type *
attributes:UITestPropertyAttributes *
category:string -> UITestPropertyDescriptor
public function UITestPropertyDescriptor(
dataType : Type,
attributes : UITestPropertyAttributes,
category : String
)
Parametry
- dataType
Typ: System.Type
Typ danych wartości właściwości.
- attributes
Typ: Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyAttributes
Uprawnienia, które są powiązane z właściwością.
- category
Typ: System.String
Kategoria, do której należy właściwość.
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..
Zobacz też
Informacje
UITestPropertyDescriptor Klasa