Udostępnij za pośrednictwem


CodeGenerationUtilities.HasCustomTypeDescriptor(DomainClass) Method

Definition

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

public:
 static bool HasCustomTypeDescriptor(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass);
public static bool HasCustomTypeDescriptor (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass);
static member HasCustomTypeDescriptor : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> bool
Public Shared Function HasCustomTypeDescriptor (domainClass As DomainClass) As Boolean

Parameters

domainClass
DomainClass

Returns

Remarks

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

Applies to