XamlSchemaContext.GetAllXamlNamespaces 方法

定義

搜尋這個 XamlSchemaContext 所持有的組件,並傳回命名空間集。

public:
 virtual System::Collections::Generic::IEnumerable<System::String ^> ^ GetAllXamlNamespaces();
public virtual System.Collections.Generic.IEnumerable<string> GetAllXamlNamespaces ();
abstract member GetAllXamlNamespaces : unit -> seq<string>
override this.GetAllXamlNamespaces : unit -> seq<string>
Public Overridable Function GetAllXamlNamespaces () As IEnumerable(Of String)

傳回

命名空間識別項的可列舉集。 這些識別項是以字串形式提供。

備註

如果參考元件是透過建構或屬性設定傳入,這個方法只會搜尋參考元件。 如果未建立任何元件做為參考元件,這個方法的邏輯會檢查所有已載入的元件,其中這是 XamlSchemaContext 作用中的元件。

適用於