Compartilhar via


CodeGenerationUtilities.OmitElement Method

Gets if the given DomainRelationship is serialized as "OmitElement" (without the role element tag).

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 OmitElement ( _
    domainRelationship As DomainRelationship _
) As Boolean
public static bool OmitElement(
    DomainRelationship domainRelationship
)
public:
static bool OmitElement(
    DomainRelationship^ domainRelationship
)
static member OmitElement : 
        domainRelationship:DomainRelationship -> bool 
public static function OmitElement(
    domainRelationship : DomainRelationship
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the given DomainRelationship is serialized as "OmitElement", false otherwise.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace