SfcParentAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于指定类型的有效可能的父级的属性。 对每个可能的父级使用其中一个。
[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 的类型命名空间。 |