語言

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 入且該組件處於啟動狀態的組件。

適用於