Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NestedContainer.OwnerName Property

Gets the name of the owning component.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

protected virtual string OwnerName { get; }

Property Value

Type: System.String
The name of the owning component.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft