GlobalObject.GetSerializerCore Method

Returns a serializer of the specified type for the global object.

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

Syntax

'宣言
Public MustOverride Function GetSerializerCore ( _
    serializerType As Type _
) As Object
'使用
Dim instance As GlobalObject
Dim serializerType As Type
Dim returnValue As Object

returnValue = instance.GetSerializerCore(serializerType)
public abstract Object GetSerializerCore(
    Type serializerType
)
public:
virtual Object^ GetSerializerCore(
    Type^ serializerType
) abstract
public abstract function GetSerializerCore(
    serializerType : Type
) : Object

Parameters

  • serializerType
    Type: System.Type

    The type of serializer to retrieve.

Return Value

Type: System.Object

A serializer of the specified type if supported; otherwise, a null reference (Nothing in Visual Basic).

Remarks

The GetSerializerCore method is an abstract member that must be implemented in the concrete class derived from GlobalObject. Defer validation to the GetSerializer method.

Permissions

See Also

Reference

GlobalObject Class

GlobalObject Members

Microsoft.VisualStudio.Shell.Design Namespace

GetSerializer