The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
PrivateObject::GetFieldOrProperty Method (String^, BindingFlags)
Gets a value of a wrapped field or property based on the name.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Parameters
- name
-
Type:
System::String^
The name of the private field or property to get.
- invokeAttr
A bitmask comprised of one or more BindingFlags that specifies how the search for the field or property is conducted. The type of lookup need not be specified.
Important |
|---|
This is important for Visual Basic source code as fields and properties are used the same way. |
Show:
