Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > Element > Elements

Elements Property


C# Signature:

VB.NET Signature:


Description:

Returns a collection of Elements that represent all the elements in the document of the specified type.

Elements is a read only property.



Examples:

[csharp]
Element[] eArray = e.get_Elements(Element.Type.Paragraph);
[vbnet]
Dim eArray As Element() = e.Elements(Element.Type.Paragraph)


Getter

Signature:

public Element[] Elements

Parameters:

Element.Type type

Returns:

Element[] A a collection of Elements that represent all the elements in the document of the specified type.



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.