Konstruktor UITestPropertyDescriptor — (Type, UITestPropertyAttributes, String)
Inicjuje nowe wystąpienie UITestPropertyDescriptor klasy określone uprawnienia i kategorii.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITesting
Zestawy: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (w Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
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: TypeTyp danych wartości właściwości.
attributes
Typ: Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyAttributesUprawnienia, które są powiązane z właściwością.
category
Typ: StringKategoria, 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 Używanie bibliotek pochodzących z częściowo zaufanego kodu.
Zobacz też
Informacje
UITestPropertyDescriptor Klasa