共用方式為


SfcRelationshipAttribute Class

Definition

Base class for various attribute classes. May be used directly, but typically one of the derived form is used.

[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
Inheritance
SfcRelationshipAttribute
Derived
Attributes

Constructors

SfcRelationshipAttribute()
SfcRelationshipAttribute(SfcRelationship, SfcCardinality, Type)
SfcRelationshipAttribute(SfcRelationship, SfcCardinality)
SfcRelationshipAttribute(SfcRelationship)

Properties

Cardinality

Specifies the cardinality of the type in relationship to its parent

ContainsType

Specifies the type this container holds. Only available for containers.

Relationship

Specifies the relationship to its parent

Applies to