共用方式為


PrivateType.InvokeStatic Method

Include Protected Members
Include Inherited Members

Invokes static methods on the PrivateType.

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 InvokeStatic(String, array<Object[]) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, array<Object[], CultureInfo) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, BindingFlags, array<Object[]) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, array<Type[], array<Object[]) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, BindingFlags, array<Object[], CultureInfo) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, BindingFlags, array<Type[], array<Object[]) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, array<Type[], array<Object[], CultureInfo) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, array<Type[], array<Object[], array<Type[]) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, BindingFlags, array<Type[], array<Object[], CultureInfo) Invokes static methods on the PrivateType.
Public method InvokeStatic(String, BindingFlags, array<Type[], array<Object[], CultureInfo, array<Type[]) Invokes static methods on the PrivateType.

Top

See Also

Reference

PrivateType Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace