Partager via


BaseShadow.MakeByRefType Method

Returns a Type object that represents the specified type when it is passed as a ref parameter.

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

Syntax

'Declaration
Public Shared Function MakeByRefType ( _
    elementType As Type _
) As Type
public static Type MakeByRefType(
    Type elementType
)
public:
static Type^ MakeByRefType(
    Type^ elementType
)
static member MakeByRefType : 
        elementType:Type -> Type
public static function MakeByRefType(
    elementType : Type
) : Type

Parameters

  • elementType
    Type: Type

    The element type.

Return Value

Type: Type
A Type object that represents the current type when it is passed as a ref parameter.

.NET Framework Security

See Also

Reference

BaseShadow Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace