更新 : 2007 年 11 月
この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
GetReferences メソッドの戻り値の型を指定するフラグを提供します。
この列挙体には、メンバ値のビットごとの組み合わせを可能にする FlagsAttribute 属性が含まれています。
名前空間 : Microsoft.Xaml
アセンブリ : Microsoft.Windows.Design.Markup (Microsoft.Windows.Design.Markup.dll 内)
構文
'宣言
<FlagsAttribute> _
Public Enumeration ReferenceOptions
'使用
Dim instance As ReferenceOptions
[FlagsAttribute]
public enum ReferenceOptions
[FlagsAttribute]
public enum class ReferenceOptions
public enum ReferenceOptions
メンバ
| メンバ名 | 説明 | |
|---|---|---|
| Type | 型参照のみを返します。 | |
| Property | プロパティ参照のみを返します。 | |
| Field | フィールド参照のみを返します。 | |
| DeclarationOnly | シンボルの参照ではなく、宣言への参照のみを返します。たとえば、DeclarationOnly は、属性やタグ名ではなく、x:Class、x:Subclass、および x:Name の各参照を返します。 | |
| All | すべての参照を返します。 |