System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / ActiveXMessageFormatter Class / InitStreamedObject Method
An OLE object that implements IPersistStreamInit.



In This Topic
    InitStreamedObject Method
    In This Topic
    Provides a utility to help serialize COM objects that implement IPersistStream and require IPersistStreamInit to be called.
    Syntax
    'Declaration
     
    
    Public Shared Sub InitStreamedObject( _
       ByVal streamedObject As Object _
    ) 
    'Usage
     
    
    Dim streamedObject As Object
     
    ActiveXMessageFormatter.InitStreamedObject(streamedObject)
    public static void InitStreamedObject( 
       object streamedObject
    )
    public:
    static void InitStreamedObject( 
       Object^ streamedObject
    ) 

    Parameters

    streamedObject
    An OLE object that implements IPersistStreamInit.
    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