Xceed Words for .NET v5.1 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Document Class / AddCustomProperties Method


In This Topic
    AddCustomProperties Method
    In This Topic
    Gets the collection of CustomProperty objects & processes them all at once.
    Syntax
    'Declaration
     
    Public Sub AddCustomProperties( _
       ByVal customProperties As IEnumerable(Of CustomProperty) _
    ) 
    'Usage
     
    Dim instance As Document
    Dim customProperties As IEnumerable(Of CustomProperty)
     
    instance.AddCustomProperties(customProperties)
    public void AddCustomProperties( 
       IEnumerable<CustomProperty> customProperties
    )

    Parameters

    customProperties
    Remarks
    Note that even though the AddCustomProperty method can be used, AddCustomProperties performs the costly operations of loading & saving the CustomProperties-related xml file only once instead of creating a new list for each CustomProperty & is thus more efficient.
    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