BCGControlBar Library for .NET
GetObjectData Method (CommandBar)




The object to be populated with serialization information.

The destination context of the serialization.

Gets serialization information with all of the data needed to recreate an instance of this CommandBar.
Syntax
'Declaration
 
Public Overridable Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
'Usage
 
Dim instance As CommandBar
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
public virtual void GetObjectData( 
   SerializationInfo info,
   StreamingContext context
)
public: virtual void GetObjectData( 
   SerializationInfo* info,
   StreamingContext context
) 
public:
virtual void GetObjectData( 
   SerializationInfo^ info,
   StreamingContext context
) 

Parameters

info

The object to be populated with serialization information.

context

The destination context of the serialization.

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

Reference

CommandBar Class
CommandBar Members

Send Feedback