Gets the filename of the file in which the rule is running.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
ReadOnly Property FileName (
Optional withExtension As Boolean = false
) As String
Get
C#
string this[
bool withExtension = false
] { get; }
Parameters
- withExtension (Optional)
- Type: System.Boolean
If this is true, the file extension will be include in the name. The default is False.
Return Value
Type:
StringThe filename, with or without the extension.
See Also
Reference