Checks whether the resource name is valid.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since:
2018
Syntax
C# |
---|
public bool IsValidResourceName(
string resourceName
) |
Visual Basic |
---|
Public Function IsValidResourceName ( _
resourceName As String _
) As Boolean |
Visual C++ |
---|
public:
bool IsValidResourceName(
String^ resourceName
) |
Parameters
- resourceName
- Type: System..::..String
The resource name to check.
Return Value
True if the name is a valid resource name, false otherwise.
Exceptions
See Also