XamlSchemaContext.GetAllXamlTypes(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
搜尋此 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 物件表示。