xPCDirectoryInfo

Construct new instance of xPCDirectoryInfo class on specified path

Syntax

public xPCDirectoryInfo(xPCTargetPC tgt, string path)

Description

Class: xPCDirectoryInfo Class

Constructor

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public xPCDirectoryInfo(xPCTargetPC tgt, string path) initializes a new instance of the xPCDirectoryInfo class on the path, path. tgt is an xPCTargetPC object that represents the target computer for which you initialize the class. path is a character string that represents the path on which to create the xPCDirectoryInfo object.

A fully qualified folder name can have a maximum of 248 characters, including the drive letter, colon, and backslash.

Note

Do not use this .NET API method. Support for this method relies on support for the .NET API, which will be removed in a future release.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2009b