IDestinationTypeProvider.GetDestinationType 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.
Returns the CLR Type that identifies the destination type for the relevant type converter or markup extension.
public:
Type ^ GetDestinationType();
public Type GetDestinationType ();
abstract member GetDestinationType : unit -> Type
Public Function GetDestinationType () As Type
Returns
A CLR Type value for the destination type.
Remarks
This method has no input parameter. What to return (and whether to return anything other than null
) is determined by the current node position in the XAML node stream.
Service Implementers
If you reimplement this service, the GetDestinationType method should return the type that a markup extension or type converter expects to check against its most specific conversion or output type.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈