XamlTypeMapper.AllowInternalType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests permission for a XamlTypeMapper derived type that is called under full trust to access a specific internal type.
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
Parameters
- type
- Type
The type to access.
Returns
true
if the internal type can be accessed; otherwise, false
.
Remarks
If not overridden by a subclass, AllowInternalType always returns false
.
When overridden by a subclass, the behavior should be that AllowInternalType should return true
if the internal type can be accessed; otherwise, false
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om