OPC Studio User's Guide and Reference
Owner Property (ElementExtensions)



OpcLabs.BaseLibPresentation Assembly > OpcLabs.BaseLib.Presentation.ComponentModel Namespace > ElementExtensions Class : Owner Property
Gets component or element that owning extensions.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<BrowsableAttribute(False)>
Public ReadOnly Property Owner As IComponent
'Usage
 
Dim instance As ElementExtensions
Dim value As IComponent
 
instance.Owner = value
 
value = instance.Owner
[CanBeNull()]
[Browsable(false)]
public IComponent Owner {get;}
[CanBeNull()]
[Browsable(false)]
public:
property IComponent^ Owner {
   IComponent^ get();
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

Remarks

The getter method of this property is pure, i.e. it does not have observable side effects.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also