Information
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::GetProperty Method (String^, array<Type^>^, array<Object^>^)

 

Gets a property for a wrapped object identified by name.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public:
Object^ GetProperty(
	String^ name,
	array<Type^>^ parameterTypes,
	array<Object^>^ args
)

Parameters

name
Type: System::String^

The name of property to get.

parameterTypes
Type: array<System::Type^>^

An array of Type objects representing the number, order, and type of the parameters for the indexed property to get.

args
Type: array<System::Object^>^

An array that contains the arguments to pass to the member to invoke.

Return Value

Type: System::Object^

An object that contains the value of the property identified by name.

Exception Condition
ArgumentException

name is null or empty.

Return to top
Show: