Table of Contents

Class EffectAnnotationCollection

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Represents a collection of EffectAnnotation objects.

public class EffectAnnotationCollection : IEnumerable<EffectAnnotation>, IEnumerable
Inheritance
EffectAnnotationCollection
Implements
Inherited Members

Properties

Count

Gets the number of elements contained in the collection.

public int Count { get; }

Property Value

int

this[int]

Retrieves the EffectAnnotation at the specified index in the collection.

public EffectAnnotation this[int index] { get; }

Parameters

index int

Property Value

EffectAnnotation

this[string]

Retrieves a EffectAnnotation from the collection, given the name of the annotation.

public EffectAnnotation this[string name] { get; }

Parameters

name string

The name of the annotation to retrieve.

Property Value

EffectAnnotation

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<EffectAnnotation> GetEnumerator()

Returns

IEnumerator<EffectAnnotation>

An enumerator that can be used to iterate through the collection.