Click or drag to resize
DigitalRuneEffectParameterBindingCollectionIndexOf Method (String)
Searches for the EffectParameterBinding for the effect parameter with the specified name 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(
	string name
)

Parameters

name
Type: SystemString
The name of the EffectParameter in the EffectParameterBinding.

Return Value

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