语言

SfcRelationshipAttribute 类

定义

各种属性类的基类。 可以直接使用,但通常使用派生形式之一。

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public abstract class SfcRelationshipAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type SfcRelationshipAttribute = class
    inherit Attribute
Public MustInherit Class SfcRelationshipAttribute
Inherits Attribute
继承
SfcRelationshipAttribute
派生
属性

构造函数

名称 说明
SfcRelationshipAttribute()

各种属性类的基类。 可以直接使用,但通常使用派生形式之一。

SfcRelationshipAttribute(SfcRelationship, SfcCardinality, Type)

各种属性类的基类。 可以直接使用,但通常使用派生形式之一。

SfcRelationshipAttribute(SfcRelationship, SfcCardinality)

各种属性类的基类。 可以直接使用,但通常使用派生形式之一。

SfcRelationshipAttribute(SfcRelationship)

各种属性类的基类。 可以直接使用,但通常使用派生形式之一。

属性

名称 说明
Cardinality

指定类型与其父级的关系基数

ContainsType

指定此容器保留的类型。 仅适用于容器。

Relationship

指定与其父级的关系

适用于