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





Description

Represents notification/failure message returned by the data provider.

Public Properties

Public Property Count Returns a number of strings in the message.
Public Property IsFailure Determines if the message represents a failure notification.
Public Property Item Given an index, returns a string in the collection at the given position.
Public Property Messages Returns 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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1