EffectPassCollection.Item Property (String)

Gets a specific element in the collection by using a name.

Syntax

'Declaration
Public ReadOnly Property Item ( _
         name As String _
) As EffectPass 
public EffectPass this [
         string name
] { get; }
public:
property EffectPass default [String] {
         EffectPass get (String name);
}

Property Value

Type: EffectPass
The object named name.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

See Also

Reference

EffectPassCollection Class
EffectPassCollection Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows Phone