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
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| SfcParentAttribute() |
屬性用來指定一個類型有效的可能父節點。 每個可能的家長都用其中一種。 |
| SfcParentAttribute(String) |
屬性用來指定一個類型有效的可能父節點。 每個可能的家長都用其中一種。 |
屬性
| 名稱 | Description |
|---|---|
| Parent |
可能的父類型名稱。 名稱可以經過命名空間限定,若未經過限定,則使用包含該 atribute 的命名空間。 |