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
public abstract Object GetSerializerCore(
Type serializerType
)
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
- 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.