QuickOPC User's Guide and Reference
GetDefaultErrorMemberPath Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > ValueTarget Class : GetDefaultErrorMemberPath Method
The type of the component for which the default error member path should be determined.
The component for which the default error member path should be determined.
Determines the default error member path for a given component.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Shared Function GetDefaultErrorMemberPath( _
   ByVal type As Type, _
   ByVal target As Object _
) As String
'Usage
 
Dim type As Type
Dim target As Object
Dim value As String
 
value = ValueTarget.GetDefaultErrorMemberPath(type, target)
[CanBeNull()]
public static string GetDefaultErrorMemberPath( 
   Type type,
   object target
)
[CanBeNull()]
public:
static String^ GetDefaultErrorMemberPath( 
   Type^ type,
   Object^ target
) 

Parameters

type
The type of the component for which the default error member path should be determined.
target
The component for which the default error member path should be determined.

Return Value

The default member path, or null if it could not be determined.
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