RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FamilyType

FamilyType.AsInteger

Method
Description:
Provides access to the integer number of the given family parameter.
Syntax
public int? AsInteger(
	FamilyParameter familyParameter
)
Parameters
Parameter Type Description
familyParameter FamilyParameter
Return Value
Type Description
Nullable The integer value contained in the parameter. Returns if the storage type of the input argument is not integer type or this parameter has no value.
Exceptions
Exception Condition
ArgumentNullException Thrown when the input argument-"familyParameter"-is.
ArgumentException Thrown if the input argument-"familyParameter"-is invalid,