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.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru