CreateInstance(PersistableContainerObject,Stream) Method
See Also 
SourceCode.Framework Namespace > SerializationInfoProvider Class > CreateInstance Method : CreateInstance(PersistableContainerObject,Stream) Method



parent
The parent for the object being created.
stream
The serialization info stream.

Glossary Item Box

Creates a new PersistableObject using the specified serialization info stream.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CreateInstance( _
   ByVal parent As PersistableContainerObject, _
   ByVal stream As Stream _
) As PersistableObject
Visual Basic (Usage)Copy Code
Dim instance As SerializationInfoProvider
Dim parent As PersistableContainerObject
Dim stream As Stream
Dim value As PersistableObject
 
value = instance.CreateInstance(parent, stream)

Parameters

parent
The parent for the object being created.
stream
The serialization info stream.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also