Gets the specification identifier by group and name.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since:
2016
Syntax
| C# |
|---|
public int LocateSpecification(
string group,
string name
) |
| Visual Basic |
|---|
Public Function LocateSpecification ( _
group As String, _
name As String _
) As Integer |
| Visual C++ |
|---|
public:
int LocateSpecification(
String^ group,
String^ name
) |
Parameters
- group
- Type: System..::..String
The specification group.
- name
- Type: System..::..String
The specification name.
Return Value
The specification identifier. Returns -1 if not found.
Exceptions
See Also