Edit

Share via


NestedContainer.OwnerName Property

Definition

Gets the name of the owning component.

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

Property Value

The name of the owning component.

Remarks

This property may be overridden to provide a custom owner name. The default implementation searches the owner's site for INestedSite and calls FullName, or Name if there is no nested site. If neither is available, this property returns null.

Applies to