Partager via


LogFileCollection.AddItem Method

Applies To: Windows 8.1

Adds a log file to the collection.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As LogFileCollection
Dim filePath As String

instance.AddItem(filePath)

Syntax

'Declaration
Public Sub AddItem ( _
    filePath As String _
)
public void AddItem (
    string filePath
)
public:
void AddItem (
    String^ filePath
)
public void AddItem (
    String filePath
)
public function AddItem (
    filePath : String
)

Parameters

  • filePath
    The file path of the log file to add.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

LogFileCollection Class
LogFileCollection Members
Microsoft.Assessments.Runtime Namespace