SfcRelationshipAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
各种属性类的基类。 可以直接使用,但通常使用派生形式之一。
[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 |
指定与其父级的关系 |