Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Used for dynamically restoring of arrays of private types.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Protected Shared Function GetShadowAttacher ( _
type As Type _
) As BaseShadow.ElementConverter
protected static BaseShadow.ElementConverter GetShadowAttacher(
Type type
)
protected:
static BaseShadow::ElementConverter^ GetShadowAttacher(
Type^ type
)
static member GetShadowAttacher :
type:Type -> BaseShadow.ElementConverter
protected static function GetShadowAttacher(
type : Type
) : BaseShadow.ElementConverter
Parameters
type
Type: TypeThe type, potentially an array or pointer.
Return Value
Type: Microsoft.VisualStudio.TestTools.UnitTesting.BaseShadow.ElementConverter
The BaseShadow.ElementConverter delegate for the AttachShadow method.
Remarks
Obtains dynamically the AttachShadow static method for the given type, looking deeply for the inner element type. For example, for typeof(privateObject_Shadow[,][,])GetShadowAttacher will return privateObject_Shadow.AttachShadow.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.