DocumentLineExtensionsContainsDuplicatedLineNumbersTLine Method |
Determines whether the collection contains duplicated line numbers.
Namespace:
Aloe.EnterpriseOne.Model.General
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static bool ContainsDuplicatedLineNumbers<TLine>(
this IEnumerable<TLine> lines
)
where TLine : IDocumentLine
<ExtensionAttribute>
Public Shared Function ContainsDuplicatedLineNumbers(Of TLine As IDocumentLine) (
lines As IEnumerable(Of TLine)
) As Boolean
public:
[ExtensionAttribute]
generic<typename TLine>
where TLine : IDocumentLine
static bool ContainsDuplicatedLineNumbers(
IEnumerable<TLine>^ lines
)
[<ExtensionAttribute>]
static member ContainsDuplicatedLineNumbers :
lines : IEnumerable<'TLine> -> bool when 'TLine : IDocumentLine
Parameters
- lines
- Type: System.Collections.GenericIEnumerableTLine
The lines.
Type Parameters
- TLine
- The type of the line.
Return Value
Type:
Booleantrue if [contains duplicated line numbers] [the specified lines]; otherwise,
false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableTLine. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also