CompositionColorGradientStopCollection 클래스

정의

인덱스로 개별적으로 액세스할 수 있는 CompositionColorGradientStop 개체의 컬렉션을 나타냅니다.

public ref class CompositionColorGradientStopCollection sealed : IIterable<CompositionColorGradientStop ^>, IVector<CompositionColorGradientStop ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CompositionColorGradientStopCollection final : IIterable<CompositionColorGradientStop>, IVector<CompositionColorGradientStop>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CompositionColorGradientStopCollection final : IIterable<CompositionColorGradientStop>, IVector<CompositionColorGradientStop>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CompositionColorGradientStopCollection : IEnumerable<CompositionColorGradientStop>, IList<CompositionColorGradientStop>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CompositionColorGradientStopCollection : IEnumerable<CompositionColorGradientStop>, IList<CompositionColorGradientStop>
Public NotInheritable Class CompositionColorGradientStopCollection
Implements IEnumerable(Of CompositionColorGradientStop), IList(Of CompositionColorGradientStop)
상속
Object Platform::Object IInspectable CompositionColorGradientStopCollection
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)

속성

Size

컬렉션의 크기(개수)를 가져옵니다.

메서드

Append(CompositionColorGradientStop)

컬렉션에 새 항목을 추가합니다.

Clear()

컬렉션에서 모든 항목을 제거합니다.

First()

컬렉션의 항목에 대한 반복기를 반환합니다.

GetAt(UInt32)

지정된 인덱스 에 있는 항목을 반환합니다.

GetMany(UInt32, CompositionColorGradientStop[])

반복기를 통해 한 번의 패스로 여러 요소를 검색합니다.

GetView()

컬렉션에 변경할 수 없는 보기를 가져옵니다.

IndexOf(CompositionColorGradientStop, UInt32)

지정된 항목의 인덱스를 검색합니다.

InsertAt(UInt32, CompositionColorGradientStop)

지정된 인덱스에 지정된 항목을 삽입합니다.

RemoveAt(UInt32)

지정된 인덱스에서 항목을 제거합니다.

RemoveAtEnd()

컬렉션의 마지막 항목을 제거합니다.

ReplaceAll(CompositionColorGradientStop[])

처음에 컬렉션을 지운 다음 제공된 배열을 새 항목으로 삽입합니다.

SetAt(UInt32, CompositionColorGradientStop)

지정된 인덱스의 값을 지정한 CompositionColorGradientStop 값으로 설정합니다.

적용 대상