共用方式為


ClassHasBaseClass.SubClass Property

DomainRole SubClass Base class of this domain class.

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

Syntax

'宣告
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("3414fdb5-bede-492d-b9d2-f5757fa9d97a")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "BaseClass", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagateCopyToLinkOnly, Multiplicity := Multiplicity.ZeroOne)> _
Public Overridable Property SubClass As DomainClass
    Get
    Set
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("3414fdb5-bede-492d-b9d2-f5757fa9d97a")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "BaseClass", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagateCopyToLinkOnly, Multiplicity = Multiplicity.ZeroOne)]
public virtual DomainClass SubClass { get; set; }
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"3414fdb5-bede-492d-b9d2-f5757fa9d97a")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"BaseClass", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagateCopyToLinkOnly, Multiplicity = Multiplicity::ZeroOne)]
public:
virtual property DomainClass^ SubClass {
    DomainClass^ get ();
    void set (DomainClass^ value);
}
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("3414fdb5-bede-492d-b9d2-f5757fa9d97a")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "BaseClass", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagateCopyToLinkOnly, Multiplicity = Multiplicity.ZeroOne)>]
abstract SubClass : DomainClass with get, set
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("3414fdb5-bede-492d-b9d2-f5757fa9d97a")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "BaseClass", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass/SubClass.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagateCopyToLinkOnly, Multiplicity = Multiplicity.ZeroOne)>]
override SubClass : DomainClass with get, set
function get SubClass () : DomainClass
function set SubClass (value : DomainClass)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass

.NET Framework Security

See Also

Reference

ClassHasBaseClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace