OPC Studio User's Guide and Reference
FromResourceDescriptor Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Networking Namespace > ResourceAddress Class : FromResourceDescriptor Method
The resource descriptor to create the resource address from.
Creates a resource address from a resource descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromResourceDescriptor( _
   ByVal resourceDescriptor As ResourceDescriptor _
) As ResourceAddress
'Usage
 
Dim resourceDescriptor As ResourceDescriptor
Dim value As ResourceAddress
 
value = ResourceAddress.FromResourceDescriptor(resourceDescriptor)
[NotNull()]
public static ResourceAddress FromResourceDescriptor( 
   ResourceDescriptor resourceDescriptor
)
[NotNull()]
public:
static ResourceAddress^ FromResourceDescriptor( 
   ResourceDescriptor^ resourceDescriptor
) 

Parameters

resourceDescriptor
The resource descriptor to create the resource address from.

Return Value

Returns the resource address object created from the resource descriptor.
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