Compartilhar via


CodeGenerationUtilities.HasCustomTypeDescriptor Method

Returns true if the given class has a custom type descriptor defined, false otherwise.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
Public Shared Function HasCustomTypeDescriptor ( _
    domainClass As DomainClass _
) As Boolean
public static bool HasCustomTypeDescriptor(
    DomainClass domainClass
)
public:
static bool HasCustomTypeDescriptor(
    DomainClass^ domainClass
)
static member HasCustomTypeDescriptor : 
        domainClass:DomainClass -> bool 
public static function HasCustomTypeDescriptor(
    domainClass : DomainClass
) : boolean

Parameters

Return Value

Type: System.Boolean

Remarks

A custom type descriptor is defined if either the "CustomCoded" property is true, or if it has one or more property paths defined.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace