Partager via


PrivateObject.GetField Method

Include Protected Members
Include Inherited Members

Gets the value of the wrapped field.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetField(String) Gets a value from a named field, based on the name.
Public method GetField(String, BindingFlags) Gets a value from a named field, based on the name and lookup mask.

Top

See Also

Reference

PrivateObject Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace