Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetStaticProperty Method (String, BindingFlags, Object[])

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.

Show:
© 2015 Microsoft