Spread Windows Forms 9.0 Product Documentation
Add(String,String) Method


The key value of the button.
The button text string.
Add an item to the ButtonTextCollectionInfo.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal key As String, _
   ByVal value As String _
) As Integer
'Usage
 
Dim instance As ButtonTextCollectionInfo
Dim key As String
Dim value As String
Dim value As Integer
 
value = instance.Add(key, value)
public int Add( 
   string key,
   string value
)

Parameters

key
The key value of the button.
value
The button text string.

Return Value

The item index.
Requirements

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

See Also

Reference

ButtonTextCollectionInfo Class
ButtonTextCollectionInfo Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.