BCGControlBar Library for .NET
GetData(String,Boolean) Method




The name of the specified type of the data to retrieve.

Creates a shallow copy of the current ToolBarButton if the specified name of the type is  ToolBarButton, otherwise, a null reference.

Syntax
'Declaration
 
Public Overloads Overridable Function GetData( _
   ByVal str As String, _
   ByVal autoConvert As Boolean _
) As Object
'Usage
 
Dim instance As ToolbarButton
Dim str As String
Dim autoConvert As Boolean
Dim value As Object
 
value = instance.GetData(str, autoConvert)
public virtual object GetData( 
   string str,
   bool autoConvert
)
public: virtual Object* GetData( 
   string* str,
   bool autoConvert
) 
public:
virtual Object^ GetData( 
   String^ str,
   bool autoConvert
) 

Parameters

str
The name of the specified type of the data to retrieve.
autoConvert
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

ToolbarButton Class
ToolbarButton Members
Overload List

Send Feedback