'Declaration<JetBrains.Annotations.MustUseReturnValueAttribute()> <JetBrains.Annotations.NotNullAttribute()> <JetBrains.Annotations.PureAttribute()> Public Overloads Shared Function FromInternalValue( _ ByVal internalValue As Object, _ ByVal relaxed As Boolean _ ) As UAPublisherId
'UsageDim internalValue As Object Dim relaxed As Boolean Dim value As UAPublisherId value = UAPublisherId.FromInternalValue(internalValue, relaxed)
[JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.NotNull()] [JetBrains.Annotations.Pure()] public static UAPublisherId FromInternalValue( object internalValue, bool relaxed )
[JetBrains.Annotations.MustUseReturnValue()] [JetBrains.Annotations.NotNull()] [JetBrains.Annotations.Pure()] public: static UAPublisherId^ FromInternalValue( Object^ internalValue, bool relaxed )
Parameters
- internalValue
- Internal value of the publisher Id identifier.
The value of this parameter can be
null(Nothingin Visual Basic). - relaxed
- If
true, zero numeric values and empty strings are treated as null; iffalse, strict validation is applied.
Return Value
Because the UASubscribeDataSetFilter has an implicit conversion from UAPublisherId, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned UAPublisherId (containing the publisher Id that you want to allow in the filter) in any place where UASubscribeDataSetFilter is expected as input, and the corresponding OPC UA subscribe dataset filter will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the UASubscribeDataSetFilter.FromUAPublisherId static method instead.
This method never returns null (Nothing in Visual Basic).
This return value of this method should not be ignored.