Share via


ResourceMap.GetValueByIndex 메서드

정의

오버로드

GetValueByIndex(UInt32)

기본 컨텍스트의 지정된 인덱스에서 리소스를 반환합니다.

GetValueByIndex(UInt32, ResourceContext)

지정된 컨텍스트의 지정된 인덱스에서 리소스를 반환합니다.

GetValueByIndex(UInt32)

기본 컨텍스트의 지정된 인덱스에서 리소스를 반환합니다.

public:
 virtual IKeyValuePair<Platform::String ^, ResourceCandidate ^> ^ GetValueByIndex(unsigned int index) = GetValueByIndex;
/// [Windows.Foundation.Metadata.Overload("GetValueByIndex")]
IKeyValuePair<winrt::hstring, ResourceCandidate const&> GetValueByIndex(uint32_t const& index);
[Windows.Foundation.Metadata.Overload("GetValueByIndex")]
public KeyValuePair<string,ResourceCandidate> GetValueByIndex(uint index);
function getValueByIndex(index)
Public Function GetValueByIndex (index As UInteger) As KeyValuePair(Of String, ResourceCandidate)

매개 변수

index
UInt32

unsigned int

uint32_t

컨텍스트에서 리소스를 찾는 데 사용할 인덱스입니다.

반환

지정된 인덱스가 있는 항목이 있는 경우 값입니다.

특성

적용 대상

GetValueByIndex(UInt32, ResourceContext)

지정된 컨텍스트의 지정된 인덱스에서 리소스를 반환합니다.

public:
 virtual IKeyValuePair<Platform::String ^, ResourceCandidate ^> ^ GetValueByIndex(unsigned int index, ResourceContext ^ context) = GetValueByIndex;
/// [Windows.Foundation.Metadata.Overload("GetValueByIndexWithContext")]
IKeyValuePair<winrt::hstring, ResourceCandidate const&> GetValueByIndex(uint32_t const& index, ResourceContext const& context);
[Windows.Foundation.Metadata.Overload("GetValueByIndexWithContext")]
public KeyValuePair<string,ResourceCandidate> GetValueByIndex(uint index, ResourceContext context);
function getValueByIndex(index, context)
Public Function GetValueByIndex (index As UInteger, context As ResourceContext) As KeyValuePair(Of String, ResourceCandidate)

매개 변수

index
UInt32

unsigned int

uint32_t

컨텍스트에서 리소스를 찾는 데 사용할 인덱스입니다.

context
ResourceContext

반환

지정된 인덱스가 있는 항목이 있는 경우 값입니다.

특성

적용 대상