Partager via


VsTargetFrameworkProvider.GetReflectionType Method (Type, Object)

Gets the type of the specified object with the specified object type.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Overrides Function GetReflectionType ( _
    objectType As Type, _
    instance As Object _
) As Type
public override Type GetReflectionType(
    Type objectType,
    Object instance
)
public:
virtual Type^ GetReflectionType(
    Type^ objectType, 
    Object^ instance
) override
abstract GetReflectionType : 
        objectType:Type * 
        instance:Object -> Type  
override GetReflectionType : 
        objectType:Type * 
        instance:Object -> Type
public override function GetReflectionType(
    objectType : Type, 
    instance : Object
) : Type

Parameters

  • objectType
    Type: Type
  • instance
    Type: Object

Return Value

Type: Type
The reflection type.

.NET Framework Security

See Also

Reference

VsTargetFrameworkProvider Class

GetReflectionType Overload

Microsoft.VisualStudio.Shell.Design Namespace