expandata.net Class Library
DNFileCollectionBE Class
See Also  Example  Members
Collapse All Language:    C#     VB.NET
This class represents the collection of files accessed by the Files property of the DNUpFilesBE object.

Namespace: expandata.net
Assembly: expandata.net.dll

Syntax

C#
public class DNFileCollectionBE

VB.NET
dim dNFileCollectionBE AS new DNFileCollectionBE()

Remarks

DNFileCollectionBE class provides methods and properties to count and access the items, of type DNFileBE , in the collection. An instance of the DNFileCollectionBE class is created by the DNUpFilesBE object during a call to it's method ProcessRequest


Example

C# Copy Code


// Create a new DNUpFilesBE object
DNUpFilesBE dNUpFilesBE = new DNUpFilesBE();

// ProcessRequest
dNUpFilesBE.ProcessRequest(Request);

// Get files collection
DNFileCollectionBE dNFileCollectionBE = dNUpFilesBE.Files;

// Get the 2nd file from collection
DNFileBE dNFileBE = dNFileCollectionBE[1];

// Save
dNFileBE.Save();


VB.NET Copy Code


'// Create a new DNUpFilesBE object
dim dNUpFilesBE as new DNUpFilesBE()

'// ProcessRequest
dNUpFilesBE.ProcessRequest(Request)

'// Get files collection
dim dNFileCollectionBE as DNFileCollectionBE = dNUpFilesBE.Files

'// Get the 2nd file from collection
dim dNFileBE as DNFileBE = dNFileCollectionBE(1)

'// Save
dNFileBE.Save()

See Also
 
Send comments about this topic to expandata.net Inc.


Copyright © 2007 expandata Inc. All rights reserved.