ISStrings.Clear

Description

This function clears the string list.

Syntax

object.Clear

Part Attribute Type Description
object Required
The object always implements the ISStrings interface

Example

Display the text presentation of the string list before and after clearing.

Dim aStrings
Dim aClearedText
Dim aMessage 

Set aStrings = Profile.CreateStrings
aStrings.Add("FirstLine")
aStrings.Add("SecondLine")
aStrings.Add("ThirdLine")

aSourceText = aStrings.Text

aStrings.Clear

aClearedText = aStrings.Text

Profile.MsgBox("Source Text:" & vbNewLine & aSourceText & vbNewLine &_
  "Cleared Text:" & vbNewLine & aClearedText)
Note:

Version information

Added in v7.8.0