Click or drag to resize
DigitalRuneEffectParameterBindingCollectionIndexOf Method (EffectParameter)
Searches for the EffectParameterBinding with the specified effect parameter and returns the zero-based index.

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public int IndexOf(
	EffectParameter parameter
)

Parameters

parameter
Type: EffectParameter
The EffectParameter of the EffectParameterBinding.

Return Value

Type: Int32
The zero-based index of the EffectParameterBinding within the entire EffectParameterBindingCollection, if found; otherwise, -1.
Exceptions
ExceptionCondition
ArgumentNullExceptionparameter is .
See Also