CodeGenerationUtilities.GetVersionString Method
Get the version of a DslLibrary in string form.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Function GetVersionString ( _
dslLibrary As DslLibrary _
) As String
public static string GetVersionString(
DslLibrary dslLibrary
)
public:
static String^ GetVersionString(
DslLibrary^ dslLibrary
)
static member GetVersionString :
dslLibrary:DslLibrary -> string
public static function GetVersionString(
dslLibrary : DslLibrary
) : String
Parameters
dslLibrary
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDslLibrary to get version from.
Return Value
Type: System.String
The version of the given DslLibrary in the format of "1.2.3.4".
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.