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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Aliasing Namespace > IReadOnlyAliasRepository Interface : GetTypes Method
Gets types of aliases in the repository.
Syntax
'Declaration
 
<NotNullAttribute()>
Function GetTypes() As ValueResult(Of IEnumerable(Of Type))
'Usage
 
Dim instance As IReadOnlyAliasRepository
Dim value As ValueResult(Of IEnumerable(Of Type))
 
value = instance.GetTypes()
[NotNull()]
ValueResult<IEnumerable<Type>> GetTypes()
[NotNull()]
ValueResult<IEnumerable<Type^>^>^ 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.

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