共用方式為


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
public Type RealType { get; }
public:
property Type^ RealType {
    Type^ get ();
}
member RealType : Type with get
function get RealType () : Type

Property Value

Type: Type
A Type object.

Remarks

This represents the Type of the wrapped object.

.NET Framework Security

See Also

Reference

PrivateObject Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace