OPC Studio User's Guide and Reference
GetTypes Method (_ReadOnlyAliasRepository)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Aliasing.ComTypes Namespace > _ReadOnlyAliasRepository Interface : GetTypes Method
Gets types of aliases in the repository.
Syntax
'Declaration
 
<NotNullAttribute()>
Function GetTypes() As ValueResult
'Usage
 
Dim instance As _ReadOnlyAliasRepository
Dim value As ValueResult
 
value = instance.GetTypes()
[NotNull()]
ValueResult GetTypes()
[NotNull()]
ValueResult^ GetTypes(); 

Return Value

Returns a value result which contains a sequence of alias types in case of success, or an error in case of failure.

This method never returns null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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