XamlTypeName.TryParseList Method (String, IXamlNamespaceResolver, IList<XamlTypeName>)

.NET Framework (current version)
 

Provides a XamlTypeName value based on a string that can specify multiple type names, and an object that can resolve a markup prefix into a namespace.

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

public static bool TryParseList(
	string typeNameList,
	IXamlNamespaceResolver namespaceResolver,
	out IList<XamlTypeName> result
)

Parameters

typeNameList
Type: System.String

A string that contains multiple types. See Remarks.

namespaceResolver
Type: System.Xaml.IXamlNamespaceResolver

An object or service provider that implements IXamlNamespaceResolver.

result
Type: System.Collections.Generic.IList<XamlTypeName>

Out parameter that contains the created XamlTypeName if the return value is true.

Return Value

Type: System.Boolean

true if the parse was successful and result contains a useful value; otherwise, false.

Exception Condition
ArgumentNullException

typeNameList or namespaceResolver is null.

.NET Framework
Available since 4.0
Return to top
Show: