LabelPropertyCollectionFindFirstByType Method
This method can be used to find the first label that has one of the specified address types
Namespace: EWSoftware.PDI.PropertiesAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public LabelProperty FindFirstByType(
AddressTypes addressType
)
Public Function FindFirstByType (
addressType As AddressTypes
) As LabelProperty
public:
LabelProperty^ FindFirstByType(
AddressTypes addressType
)
member FindFirstByType :
addressType : AddressTypes -> LabelProperty
- addressType AddressTypes
- The address type to match
LabelPropertyThe first label with an address type matching one of those specified or null if not found
Multiple address types can be specified. Including Preferred will limit the match to
the one with the Preferred flag set. If a preferred label with one of the given types cannot
be found, it will return the first label matching one of the given types without the Preferred
flag set. If no label can be found, it returns null.