Freigeben über


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

'Declaration
Public MustOverride Function GetSerializerCore ( _
    serializerType As Type _
) As Object
'Usage
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
abstract GetSerializerCore : 
        serializerType:Type -> Object 
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, nulla 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.

.NET Framework Security

See Also

Reference

GlobalObject Class

GlobalObject Members

Microsoft.VisualStudio.Shell.Design Namespace

GetSerializer