XamlTypeMapper.AllowInternalType(Type) メソッド

定義

特定の内部型にアクセスするために完全信頼で呼び出される XamlTypeMapper 派生型のアクセス許可を要求します。

protected:
 virtual bool AllowInternalType(Type ^ type);
protected virtual bool AllowInternalType(Type type);
abstract member AllowInternalType : Type -> bool
override this.AllowInternalType : Type -> bool
Protected Overridable Function AllowInternalType (type As Type) As Boolean

パラメーター

type
Type

アクセスする型。

返品

true 内部型にアクセスできる場合。それ以外の場合は false

注釈

サブクラスによってオーバーライドされない場合、 AllowInternalType は常に falseを返します。

サブクラスによってオーバーライドされた場合、内部型にアクセスできる場合は AllowInternalTypetrue を返す必要があります。それ以外の場合は false

適用対象