Get the index of the control qubit when this operation is applied: either 0 or 1.

C# | Visual Basic | Visual C++ |
public int GetControlIndex()
Public Function GetControlIndex As Integer
public: virtual int GetControlIndex() sealed

The control index: 0 or 1