NestedContainer.OwnerName 屬性

定義

取得主控元件的名稱。Gets the name of the owning component.

protected:
 virtual property System::String ^ OwnerName { System::String ^ get(); };
protected virtual string OwnerName { get; }
member this.OwnerName : string
Protected Overridable ReadOnly Property OwnerName As String

屬性值

主控元件的名稱。The name of the owning component.

備註

可能會覆寫這個屬性, 以提供自訂擁有者名稱。This property may be overridden to provide a custom owner name. 預設的執行會搜尋擁有者的網站INestedSite , 並FullName呼叫, Name或如果沒有任何嵌套網站, 則為。The default implementation searches the owner's site for INestedSite and calls FullName, or Name if there is no nested site. 如果兩者都無法使用, 則這個null屬性會傳回。If neither is available, this property returns null.

適用於