共用方式為


EnumerationHasAttributes Constructor (DomainEnumeration, ClrAttribute)

Constructor Creates a EnumerationHasAttributes link in the same Partition as the given DomainEnumeration

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

Syntax

'宣告
Public Sub New ( _
    source As DomainEnumeration, _
    target As ClrAttribute _
)
public EnumerationHasAttributes(
    DomainEnumeration source,
    ClrAttribute target
)
public:
EnumerationHasAttributes(
    DomainEnumeration^ source, 
    ClrAttribute^ target
)
new : 
        source:DomainEnumeration * 
        target:ClrAttribute -> EnumerationHasAttributes
public function EnumerationHasAttributes(
    source : DomainEnumeration, 
    target : ClrAttribute
)

Parameters

.NET Framework Security

See Also

Reference

EnumerationHasAttributes Class

EnumerationHasAttributes Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace