DomainClassHasCustomTypeDescriptor.SetCustomTypeDescriptor – metoda
Nastaví CustomTypeDescriptor.
Obor názvů: Microsoft.VisualStudio.Modeling.DslDefinition
Sestavení: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (v Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntaxe
'Deklarace
Public Shared Sub SetCustomTypeDescriptor ( _
element As DomainClass, _
newCustomTypeDescriptor As DomainTypeDescriptor _
)
public static void SetCustomTypeDescriptor(
DomainClass element,
DomainTypeDescriptor newCustomTypeDescriptor
)
Parametry
- newCustomTypeDescriptor
Typ: Microsoft.VisualStudio.Modeling.DslDefinition.DomainTypeDescriptor
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.