Click or drag to resize

ListDialogAdd Method (String, Object)

Adds a row to the list with the specified text and tag.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public void Add(
	string text,
	Object tag
)

Parameters

text
Type: SystemString
The text of the row to add.
tag
Type: SystemObject
The tag of the row to add. The tag can be used so associate data with this row which can be used retrieved when the user responds to the dialog.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if text is null.
See Also