ALTAStressProfile.GetSegments: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) m (Protected "ALTAStressProfile.GetSegments" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
John Leavitt (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:APIClass|ALTAStressProfile Class|ALTAStressProfile}} | {{Template:APIClass|ALTAStressProfile Class|ALTAStressProfile}} | ||
{{Template:ALTAStressProfile.GetSegments.Cmt}} | |||
== Method Syntax == | == Method Syntax == | ||
{{APIPrefix|Public Function}}{{APIName|GetSegments()}} | {{APIPrefix|Public Function}}{{APIName|GetSegments()}} | ||
== Usage Example == | == Usage Example == |
Revision as of 18:44, 30 January 2014
Returns an array of ALTASegment objects that define each segment in the profile.
Method Syntax
Public Function GetSegments()
Usage Example
Declare an ALTAStressProfile. See ALTAStressProfile for additional details.
Dim SP As New ALTAStressProfile("Profile1")
Add segments.
SP.AddSegment(1, 250) SP.AddSegment(2, 300) SP.AddSegment(3, 400)
Get segments.
Dim StressSegments() As ALTASegment StressSegments = SP.GetSegments