Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

IConstraint.RemoveSource

public void RemoveSource(int index);

Parameters

indexThe index of the source to remove.

Description

Removes a source from the component.

Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.

Did you find this page useful? Please give it a rating: