This documentation is archived and is not being maintained.

IXamlNameResolver.GetFixupToken Method (IEnumerable<String>, Boolean)

Returns an object that can correct for certain markup patterns that produce forward references.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

Object GetFixupToken(
	IEnumerable<string> names,
	bool canAssignDirectly
)

Parameters

names
Type: System.Collections.Generic.IEnumerable<String>
A collection of names that are possible forward references.
canAssignDirectly
Type: System.Boolean
true to immediately assign the resolved name reference to the target property. false to call the user code for a reparse. The default behavior is false.

Return Value

Type: System.Object
An object that provides a token for lookup behavior to be evaluated later.

Existing internal service providers that are available in schema contexts for markup extensions and type converters implement this service; however, they return an internal type that can only be processed by the existing XAML writers that work under the default XAML schema context.

If canAssignDirectly is false, when all the forward referenced names are resolvable, the user code is called to reparse each name in the list.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: