Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal name As String, _ ByVal udtGuid As String, _ ByVal required As Boolean, _ ByVal varType As TemplateVariable.VAR_TYPE, _ ByVal defaultValues As IEnumerable(Of TemplateVariableValue), _ ByVal allowedValues As IEnumerable(Of TemplateVariableValue), _ ByVal calOffset As TemplateVariable.CAL_OFFSET, _ ByVal description As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim name As String Dim udtGuid As String Dim required As Boolean Dim varType As TemplateVariable.VAR_TYPE Dim defaultValues As IEnumerable(Of TemplateVariableValue) Dim allowedValues As IEnumerable(Of TemplateVariableValue) Dim calOffset As TemplateVariable.CAL_OFFSET Dim description As String Dim instance As New TemplateVariable(name, udtGuid, required, varType, defaultValues, allowedValues, calOffset, description) |
Managed Extensions for C++ | |
---|---|
public: TemplateVariable( string* name, string* udtGuid, bool required, TemplateVariable.VAR_TYPE varType, IEnumerable<TemplateVariableValue*>* defaultValues, IEnumerable<TemplateVariableValue*>* allowedValues, TemplateVariable.CAL_OFFSET calOffset, string* description ) |
C++/CLI | |
---|---|
public: TemplateVariable( String^ name, String^ udtGuid, bool required, TemplateVariable.VAR_TYPE varType, IEnumerable<TemplateVariableValue^>^ defaultValues, IEnumerable<TemplateVariableValue^>^ allowedValues, TemplateVariable.CAL_OFFSET calOffset, String^ description ) |
Parameters
- name
- The name of the variable.
- udtGuid
- The guid (can be null) for this if a UDT.
- required
- true if this variable must be set.
- varType
- What type of data this variable is.
- defaultValues
- The default value for this var. Can be [0].
- allowedValues
- The default value for this var. Can be [0].
- calOffset
- For a default date, the calendar offset.
- description
- The description of this variable. This is optional.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family