LightFamilyGetLightTypeName Method |
Return the name for the light type at the given index
Namespace: Autodesk.Revit.DB.LightingAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic string GetLightTypeName(
int index
)
Public Function GetLightTypeName (
index As Integer
) As String
public:
String^ GetLightTypeName(
int index
)
member GetLightTypeName :
index : int -> string
Parameters
- index Int32
-
The index of the light type
Return Value
String
The name of the light type at the given index
ExceptionsException | Condition |
---|
ArgumentException |
The index is the argument that is being validated
The index is not valid because it does not correspond to a valid light type
|
See Also