ByteKeyFrameCollection.Item Property

Gets or sets the ByteKeyFrame at the specified index position.

Namespace: System.Windows.Media.Animation
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public ByteKeyFrame this [
	int index
] { get; set; }
/** @property */
public ByteKeyFrame get_Item (int index)

/** @property */
public void set_Item (int index, ByteKeyFrame value)

You cannot use this property in XAML.

Parameters

index

The zero-based index of the ByteKeyFrame to get or set.

Property Value

The ByteKeyFrame at the specified index.

Exception typeCondition

InvalidOperationException

The attempt to modify the collection is invalid because the collection is frozen (its IsFrozen property is true).

ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: