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 物件表示。

適用於