CodeGenerationUtilities.GetDesigner Method
Get the Designer defined in the given DslLibrary.
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 GetDesigner ( _
dslLibrary As DslLibrary _
) As Designer
public static Designer GetDesigner(
DslLibrary dslLibrary
)
public:
static Designer^ GetDesigner(
DslLibrary^ dslLibrary
)
static member GetDesigner :
dslLibrary:DslLibrary -> Designer
public static function GetDesigner(
dslLibrary : DslLibrary
) : Designer
Parameters
- dslLibrary
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
DslLibrary instance whose defined Designer will be returned.
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Designer
The Designer defined in the given DslLibrary, null if none is defined.
.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.