Freigeben über


PrivateType Constructors

Definition

Overloads

PrivateType(Type)

Initializes a new instance of the PrivateType class that contains the private type from the type object

PrivateType(String, String)

Initializes a new instance of the PrivateType class that contains the private type.

PrivateType(Type)

Initializes a new instance of the PrivateType class that contains the private type from the type object

public:
 PrivateType(Type ^ type);
public PrivateType (Type type);
new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType : Type -> Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType
Public Sub New (type As Type)

Parameters

type
Type

The wrapped Type to create.

Applies to

PrivateType(String, String)

Initializes a new instance of the PrivateType class that contains the private type.

public:
 PrivateType(System::String ^ assemblyName, System::String ^ typeName);
public PrivateType (string assemblyName, string typeName);
new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType : string * string -> Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType
Public Sub New (assemblyName As String, typeName As String)

Parameters

assemblyName
String

Assembly name

typeName
String

fully qualified name of the

Applies to