共用方式為


CodeGenerationUtilities.HasCustomBaseImplementation Method

Note: This API is now obsolete.

Whether the given DomainClass (or any of its base DomainClasses) is marked as "IsCustom", which means the serialization is customized.

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

Syntax

'宣告
<ObsoleteAttribute("This method is no longer used by the standard DSL text templates and may be removed in a future version.")> _
Public Shared Function HasCustomBaseImplementation ( _
    domainClass As DomainClass _
) As Boolean
[ObsoleteAttribute("This method is no longer used by the standard DSL text templates and may be removed in a future version.")]
public static bool HasCustomBaseImplementation(
    DomainClass domainClass
)
[ObsoleteAttribute(L"This method is no longer used by the standard DSL text templates and may be removed in a future version.")]
public:
static bool HasCustomBaseImplementation(
    DomainClass^ domainClass
)
[<ObsoleteAttribute("This method is no longer used by the standard DSL text templates and may be removed in a future version.")>]
static member HasCustomBaseImplementation : 
        domainClass:DomainClass -> bool 
public static function HasCustomBaseImplementation(
    domainClass : DomainClass
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the given DomainClass (or any of its base DomainClasses) is marked as "IsCustom", false otherwise.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace