語言

XamlSchemaContext.GetAllXamlTypes(String) 方法

定義

搜尋此 XamlSchemaContext 系統所持有的組件,並從指定的 XAML 命名空間回傳一組型別。

public:
 virtual System::Collections::Generic::ICollection<System::Xaml::XamlType ^> ^ GetAllXamlTypes(System::String ^ xamlNamespace);
public virtual System.Collections.Generic.ICollection<System.Xaml.XamlType> GetAllXamlTypes(string xamlNamespace);
abstract member GetAllXamlTypes : string -> System.Collections.Generic.ICollection<System.Xaml.XamlType>
override this.GetAllXamlTypes : string -> System.Collections.Generic.ICollection<System.Xaml.XamlType>
Public Overridable Function GetAllXamlTypes (xamlNamespace As String) As ICollection(Of XamlType)

參數

xamlNamespace
String

XAML 命名空間用來回傳類型。

傳回

一組可枚舉的 XAML 型別。 集合中的每個 XAML 類型都由一個 XamlType 物件表示。

適用於