XamlTypeName.TryParseList Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Fornisce un valore XamlTypeName basato su una stringa che può specificare più nomi del tipo e su un oggetto che può risolvere un prefisso di markup in uno spazio dei nomi.
public:
static bool TryParseList(System::String ^ typeNameList, System::Xaml::IXamlNamespaceResolver ^ namespaceResolver, [Runtime::InteropServices::Out] System::Collections::Generic::IList<System::Xaml::Schema::XamlTypeName ^> ^ % result);
public static bool TryParseList (string typeNameList, System.Xaml.IXamlNamespaceResolver namespaceResolver, out System.Collections.Generic.IList<System.Xaml.Schema.XamlTypeName> result);
static member TryParseList : string * System.Xaml.IXamlNamespaceResolver * IList -> bool
Public Shared Function TryParseList (typeNameList As String, namespaceResolver As IXamlNamespaceResolver, ByRef result As IList(Of XamlTypeName)) As Boolean
Parametri
- typeNameList
- String
Stringa che contiene più tipi.
- namespaceResolver
- IXamlNamespaceResolver
Oggetto o provider di servizi che implementa IXamlNamespaceResolver.
- result
- IList<XamlTypeName>
Parametro out che contiene l'oggetto XamlTypeName creato se il valore restituito è true
.
Restituisce
true
se l'analisi è stata eseguita correttamente e result
contiene un valore utile; in caso contrario, false
.
Eccezioni
typeNameList
o namespaceResolver
è null
.