Spread Windows Forms 7.0 Product Documentation
NamedStyle Constructor(SerializationInfo,StreamingContext)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > NamedStyle Class > NamedStyle Constructor : NamedStyle Constructor(SerializationInfo,StreamingContext)


info

Object that holds the serialized object data

For more information on serialization information, see the SerializationInfo class in the Microsoft .NET Framework Reference.

context

Contexual information about the source or destination of the serialization

For more information on contextual information, see the StreamingContext structure in the Microsoft .NET Framework Reference.

Glossary Item Box

Creates a custom style (NamedStyle object) for sharing settings across models.

Syntax

Visual Basic (Declaration) 
Protected Function New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
Visual Basic (Usage)Copy Code
Dim info As SerializationInfo
Dim context As StreamingContext
 
Dim instance As New NamedStyle(info, context)
C# 
protected NamedStyle( 
   SerializationInfo info,
   StreamingContext context
)

Parameters

info

Object that holds the serialized object data

For more information on serialization information, see the SerializationInfo class in the Microsoft .NET Framework Reference.

context

Contexual information about the source or destination of the serialization

For more information on contextual information, see the StreamingContext structure in the Microsoft .NET Framework Reference.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.