ModelingToolboxItem Constructor (SerializationInfo, StreamingContext)
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]
Initializes a new instance of the ModelingToolboxItem class from serialized data.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected ModelingToolboxItem(
SerializationInfo info,
StreamingContext context
)
protected:
ModelingToolboxItem(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ModelingToolboxItem
protected function ModelingToolboxItem(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe serialization information store.
context
Type: System.Runtime.Serialization.StreamingContextThe stream context.