Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PrivateType.GetStaticProperty Method (String, BindingFlags, Object[])

Gets a static property contained in the wrapped type.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
public Object GetStaticProperty(
	string name,
	BindingFlags bindingFlags,
	params Object[] args
)

Parameters

name
Type: System.String

The name of the static property.

bindingFlags
Type: System.Reflection.BindingFlags
args
Type: System.Object[]

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

Return Value

Type: System.Object
An object that represents the value of the static property.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.