Connectivity Software User's Guide and Reference
GetAttributesFor Method



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.ComponentModel.Internal Namespace > AttributeStore Class : GetAttributesFor Method

The value of this parameter can be null (Nothing in Visual Basic).

The value of this parameter can be null (Nothing in Visual Basic).

The value of this parameter can be null (Nothing in Visual Basic).

The value of this parameter can be null (Nothing in Visual Basic).

The value of this parameter can be null (Nothing in Visual Basic).

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Syntax
'Declaration
 
<JetBrains.Annotations.NotNullAttribute()>
<JetBrains.Annotations.ItemNotNullAttribute()>
Public Function GetAttributesFor( _
   ByVal target As Object, _
   ByVal targetType As Type, _
   ByVal value As Object, _
   ByVal valueType As Type, _
   ByVal memberName As String, _
   ByVal originalAttributes() As Attribute _
) As Attribute()
'Usage
 
Dim instance As AttributeStore
Dim target As Object
Dim targetType As Type
Dim value As Object
Dim valueType As Type
Dim memberName As String
Dim originalAttributes() As Attribute
Dim value() As Attribute
 
value = instance.GetAttributesFor(target, targetType, value, valueType, memberName, originalAttributes)
[JetBrains.Annotations.NotNull()]
[JetBrains.Annotations.ItemNotNull()]
public Attribute[] GetAttributesFor( 
   object target,
   Type targetType,
   object value,
   Type valueType,
   string memberName,
   Attribute[] originalAttributes
)
[JetBrains.Annotations.NotNull()]
[JetBrains.Annotations.ItemNotNull()]
public:
array<Attribute^>^ GetAttributesFor( 
   Object^ target,
   Type^ targetType,
   Object^ value,
   Type^ valueType,
   String^ memberName,
   array<Attribute^>^ originalAttributes
) 

Parameters

target

The value of this parameter can be null (Nothing in Visual Basic).

targetType

The value of this parameter can be null (Nothing in Visual Basic).

value

The value of this parameter can be null (Nothing in Visual Basic).

valueType

The value of this parameter can be null (Nothing in Visual Basic).

memberName

The value of this parameter can be null (Nothing in Visual Basic).

originalAttributes

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Return Value

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

The individual elements of the returned value are never null (Nothing in Visual Basic).

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