CodeGenerationUtilities.GetPackageNamespace Method
Get Dsl package name for the given Dsl.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Shared Function GetPackageNamespace ( _
dsl As Dsl _
) As String
public static string GetPackageNamespace(
Dsl dsl
)
public:
static String^ GetPackageNamespace(
Dsl^ dsl
)
static member GetPackageNamespace :
dsl:Dsl -> string
public static function GetPackageNamespace(
dsl : Dsl
) : String
Parameters
- dsl
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Dsl
Dsl instance whose package name will be returned.
Return Value
Type: System.String
The package name of the given Dsl.
.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.