Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileLogTraceListener::CustomLocation Property

 

Gets or sets the log file directory when the Location property is set to Custom.

Namespace:   Microsoft.VisualBasic.Logging
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
property String^ CustomLocation {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

String, which is the name of the log-file directory. The default setting for this property is the user's directory for application data.

When the CustomLocation property is set, it also sets the Location property to Custom.

The CustomLocation property will throw an exception if the directory cannot be resolved.

.NET Framework
Available since 2.0
Return to top
Show: