AGI STK Objects 11 Send comments on this topic.
IAgDrTextMessage Collection
Windows






Windows & Linux

Description

Represents notification/failure message returned by the data provider.

Public Properties

Public Property CountReturns a number of strings in the message.
Public Property IsFailureDetermines if the message represents a failure notification.
Public Property ItemGiven an index, returns a string in the collection at the given position.
Public Property MessagesReturns an array of strings in the message.

Example

Extract data from IAgDrTextMessage (generic)
[C#]Copy Code
foreach (object messagei in message.Messages) 

    Console.WriteLine(messagei); 

 

Extract data from IAgDrTextMessage (generic)
[Visual Basic .NET]Copy Code
For Each messagei As Object In message.Messages
    Console.WriteLine(messagei)
Next

© 2018 Analytical Graphics, Inc. All Rights Reserved.