xInfo.directory(DirectoryType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the path to the directory where the Finance and Operations client has been installed.
public:
static System::String ^ directory(Dynamics::AX::Application::DirectoryType _type);
public static string directory (Dynamics.AX.Application.DirectoryType _type);
static member directory : Dynamics.AX.Application.DirectoryType -> string
Public Shared Function directory (_type As DirectoryType) As String
Parameters
- _type
- DirectoryType
A DirectoryType enumeration value that indicates one of the subfolders of the client installation.
Returns
A string that contains the path to the directory that is specified by the DirectoryType parameter.
Remarks
The following example prints the path to the Bin directory for the current client installation.
{
print xInfo::directory(DirectoryType::Bin);
pause;
}