语言

SfcParentAttribute 类

定义

用于指定类型的有效可能的父级的属性。 对每个可能的父级使用其中一个。

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

构造函数

名称 说明
SfcParentAttribute()

用于指定类型的有效可能的父级的属性。 对每个可能的父级使用其中一个。

SfcParentAttribute(String)

用于指定类型的有效可能的父级的属性。 对每个可能的父级使用其中一个。

属性

名称 说明
Parent

可能的父类型名称。 该名称可以是命名空间限定的,或者如果名称不是,则使用包含此 atrribute 的类型命名空间。

适用于