PrivateObject.RealType Property

Gets the type of the underlying object.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property RealType As Type
'Usage
Dim instance As PrivateObject 
Dim value As Type 

value = instance.RealType
public Type RealType { get; }
public:
property Type^ RealType {
    Type^ get ();
}
public function get RealType () : Type

Property Value

Type: System.Type
A Type object.

Remarks

This represents the Type of the wrapped object.

.NET Framework Security

See Also

Reference

PrivateObject Class

PrivateObject Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace