PrivateObject Constructor

Initializes a new instance of the PrivateObject class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method PrivateObject(Object) Initializes a new instance of the PrivateObject class that creates the wrapper for the specified object.
Public method PrivateObject(Object, PrivateType) Initializes a new instance of the PrivateObject class that creates the wrapper for the specified object.
Public method PrivateObject(Object, String) Initializes a new instance of the PrivateObject class that creates the wrapper for the specified object.
Public method PrivateObject(Type, Object[]) Initializes a new instance of the PrivateObject class that creates the wrapper for the specified object.
Public method PrivateObject(String, String, Object[]) Initializes a new instance of the PrivateObject class. This creates the object of the specified type and wraps it in the private object.
Public method PrivateObject(Type, Type[], Object[]) Initializes a new instance of the PrivateObject class.
Public method PrivateObject(String, String, Type[], Object[]) Initializes a new instance of the PrivateObject class. This creates an object of the specified type and wraps it in the private object.
Top
Show: