Windward Studios API Reference
GetValue(String,VAR_TYPE) Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > TemplateVariable Class : GetValue(String,VAR_TYPE) Method




defString
The value as a string.
defType
The value type.

Glossary Item Box

Convert a string to the requested object type.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetValue( _
   ByVal defString As String, _
   ByVal defType As TemplateVariable.VAR_TYPE _
) As Object
Visual Basic (Usage)Copy Code
Dim defString As String
Dim defType As TemplateVariable.VAR_TYPE
Dim value As Object
 
value = TemplateVariable.GetValue(defString, defType)
C# 
public static object GetValue( 
   string defString,
   TemplateVariable.VAR_TYPE defType
)
Managed Extensions for C++ 
public: static Object* GetValue( 
   string* defString,
   TemplateVariable.VAR_TYPE defType
) 
C++/CLI 
public:
static Object^ GetValue( 
   String^ defString,
   TemplateVariable.VAR_TYPE defType
) 

Parameters

defString
The value as a string.
defType
The value type.

Requirements

Platforms: Windows 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software