IXamlFileInformationContext.CheckForAttributeAndElementPresence メソッド

更新 : 2007 年 11 月

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

この位置に属性があるかどうかを確認します。

名前空間 :  Microsoft.Xaml
アセンブリ :  Microsoft.Windows.Design.Markup (Microsoft.Windows.Design.Markup.dll 内)

構文

'宣言
Function CheckForAttributeAndElementPresence ( _
    offset As Integer, _
    <OutAttribute> ByRef directlyBeforeAttribute As Boolean _
) As Boolean
'使用
Dim instance As IXamlFileInformationContext
Dim offset As Integer
Dim directlyBeforeAttribute As Boolean
Dim returnValue As Boolean

returnValue = instance.CheckForAttributeAndElementPresence(offset, _
    directlyBeforeAttribute)
bool CheckForAttributeAndElementPresence(
    int offset,
    out bool directlyBeforeAttribute
)
bool CheckForAttributeAndElementPresence(
    int offset, 
    [OutAttribute] bool% directlyBeforeAttribute
)
function CheckForAttributeAndElementPresence(
    offset : int, 
    directlyBeforeAttribute : boolean
) : boolean

パラメータ

戻り値

型 : System.Boolean

解説

このメソッドは、現在別の属性の先頭に位置し、必要な領域を追加できるかどうかを返します。

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IXamlFileInformationContext インターフェイス

IXamlFileInformationContext メンバ

Microsoft.Xaml 名前空間

その他の技術情報

WPF デザイナの機能拡張