ALTAStressProfile Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{Template:APIClass|ALTAStressProfile Class|ALTAStressProfile}} Initialize a new instance of the ALTAStressProfile class. == Syntax == *ALTAStressPro…')
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|ALTAStressProfile Class|ALTAStressProfile}}
{{Template:API}}{{Template:DeprecatedAPI}}{{Template:APIBreadcrumb|.[[ALTAStressProfile_Class|ALTAStressProfile]]}}
Initialize a new instance of the [[ALTAStressProfile Class|ALTAStressProfile]] class.
 
 
<onlyinclude><includeonly>{{DeprecatedAPIpic}}</includeonly>A parameterized constructor for the [[ALTAStressProfile_Class|ALTAStressProfile]] class. (.NET only)</onlyinclude>


== Syntax ==
== Syntax ==
*ALTAStressProfile()                                                 {{APIComment|{{Template:ALTAStressProfile_Constructors1.Cmt}}}}
'''ALTAStressProfile'''(''Name'')
*ALTAStressProfile( Name {{APIPrefix|As String}})                    {{APIComment|{{Template:ALTAStressProfile_Constructors2.Cmt}}}}
 
===Parameters===
''Name''
:Required. String. The name of the new stress profile.


Parameters
== Example ==
:''Name'': The [[ALTAStressProfile.Name|name]] of the new stress profile.
'''VB.NET'''
{{APIComment|'The following code creates a new stress profile named "Temperature1".}}
  {{APIPrefix|Dim}} SP {{APIPrefix|As New}} ALTAStressProfile({{APIString|"Temperature1"}})

Latest revision as of 15:12, 3 August 2017

APIWiki.png


This method has been deprecated and may be removed in future versions of the Synthesis API. Do not use it in new applications.


Member of: SynthesisAPI.ALTAStressProfile


A parameterized constructor for the ALTAStressProfile class. (.NET only)

Syntax

ALTAStressProfile(Name)

Parameters

Name

Required. String. The name of the new stress profile.

Example

VB.NET

 'The following code creates a new stress profile named "Temperature1". 
 Dim SP As New ALTAStressProfile("Temperature1")