Share via


ModelingToolboxItemBase.Deserialize Method

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Deserialize this instance of the ModelingToolboxItemBase.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Protected Overrides Sub Deserialize ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
protected override void Deserialize(
    SerializationInfo info,
    StreamingContext context
)
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
protected:
virtual void Deserialize(
    SerializationInfo^ info, 
    StreamingContext context
) override
[<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")>]
abstract Deserialize : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
[<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")>]
override Deserialize : 
        info:SerializationInfo * 
        context:StreamingContext -> unit
protected override function Deserialize(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    Type: SerializationInfo

    The serialization information

  • context
    Type: StreamingContext

    The streaming context

See Also

Reference

ModelingToolboxItemBase Class

Microsoft.VisualStudio.Modeling.Design Namespace