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
屬性

建構函式

名稱 Description
SfcParentAttribute()

屬性用來指定一個類型有效的可能父節點。 每個可能的家長都用其中一種。

SfcParentAttribute(String)

屬性用來指定一個類型有效的可能父節點。 每個可能的家長都用其中一種。

屬性

名稱 Description
Parent

可能的父類型名稱。 名稱可以經過命名空間限定,若未經過限定,則使用包含該 atribute 的命名空間。

適用於