Table of Contents

Class UserDataHeaderCollection

Namespace
Inetlab.SMPP.Headers
Assembly
Inetlab.SMPP.dll

User Data Header Collection

public class UserDataHeaderCollection : List<UserDataHeader>, IList<UserDataHeader>, ICollection<UserDataHeader>, IList, ICollection, IReadOnlyList<UserDataHeader>, IReadOnlyCollection<UserDataHeader>, IEnumerable<UserDataHeader>, IEnumerable
Inheritance
UserDataHeaderCollection
Implements
Inherited Members

Methods

Add(InformationElementIdentifiers, byte[])

public void Add(InformationElementIdentifiers iei, byte[] data)

Parameters

iei InformationElementIdentifiers
data byte[]

Add(UserDataHeader)

public void Add(UserDataHeader header)

Parameters

header UserDataHeader

Add(byte, byte[])

public void Add(byte iei, byte[] data)

Parameters

iei byte
data byte[]

Of<T>()

Returns user data headers of specified type

public List<T> Of<T>() where T : UserDataHeader

Returns

List<T>

Type Parameters

T

Operators

implicit operator byte[](UserDataHeaderCollection)

Converts UserDataHeaderCollection to byte array

public static implicit operator byte[](UserDataHeaderCollection headers)

Parameters

headers UserDataHeaderCollection

Returns

byte[]

implicit operator UserDataHeaderCollection(byte[])

Converts byte array to UserDataHeaderCollection

public static implicit operator UserDataHeaderCollection(byte[] bytes)

Parameters

bytes byte[]

Returns

UserDataHeaderCollection