ResourceMirror.CompareToResource<ItemType,ResourceType> 대리자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
리소스와 원본 항목을 비교하는 함수입니다. 리소스가 항목보다 작은 항목과 연결된 경우 -1을 반환해야 합니다. 리소스가 항목보다 큰 항목과 연결된 경우 1입니다. 리소스가 항목과 연결된 경우 0입니다.
public delegate int ResourceMirror.CompareToResource<ItemType,ResourceType>(ItemType item, ResourceType resource);
type ResourceMirror.CompareToResource<'ItemType, 'ResourceType> = delegate of 'ItemType * 'ResourceType -> int
Public Delegate Function ResourceMirror.CompareToResource(Of ItemType, ResourceType)(item As ItemType, resource As ResourceType) As Integer
형식 매개 변수
- ItemType
원본 데이터의 형식입니다.
- ResourceType
관리되는 리소스의 유형입니다.
매개 변수
- item
- ItemType
원본 데이터의 인스턴스입니다.
- resource
- ResourceType
리소스 인스턴스입니다.
반환 값
설명
위의 "작은" 및 "더 큰"은 동기화에 대한 목록 입력이 정렬된 비교와 동일한 의미를 가져야 합니다.