Barcode Xpress for .NET Framework v14.0 - Updated
Accusoft.BarcodeXpressSdk Namespace / BarcodeXpress Class / DebugLogFile Property
Example




In This Topic
    DebugLogFile Property
    In This Topic
    Gets and sets the filename of the debug log file.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Property DebugLogFile As String
    'Usage
     
    Dim instance As BarcodeXpress
    Dim value As String
     
    instance.DebugLogFile = value
     
    value = instance.DebugLogFile
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public string DebugLogFile {get; set;}
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public: __property string* get_DebugLogFile();
    public: __property void set_DebugLogFile( 
       string* value
    );
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public:
    property String^ DebugLogFile {
       String^ get();
       void set (    String^ value);
    }

    Property Value

    A string value which represents the full path and name of the debug log file.
    Remarks

    This property allows you to control the location of the debug log file.

    Valid value: Any valid filename.

    Default value: "%TEMP%\BarcodeXpress10.log"

    Note: This property will have no effect if you set the Debug property to false.

    Example
    ...
    // Set the DebugLogFile path and name
    bcXpress.DebugLogFile = "c:\logFile.txt";
    ...
    See Also