Xceed Words for .NET v3.0 Documentation
CanAddListItem Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > List Class : CanAddListItem Method
The item to validate.
Determines if the provided item can be added to this List.
Syntax
'Declaration
 
Public Function CanAddListItem( _
   ByVal paragraph As Paragraph _
) As Boolean
'Usage
 
Dim instance As List
Dim paragraph As Paragraph
Dim value As Boolean
 
value = instance.CanAddListItem(paragraph)
public bool CanAddListItem( 
   Paragraph paragraph
)

Parameters

paragraph
The item to validate.

Return Value

true if the AddItem() method will succeed with the provided item, otherwise false.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

List Class
List Members