claimPropertyIndex (property)
Selects a property.
Syntax
- (int)claimPropertyIndex:(int)claimIndex; - (void)setClaimPropertyIndex:(int)claimIndex:(int)newClaimPropertyIndex;
public func claimPropertyIndex(claimIndex: Int32) throws -> Int32
public func setClaimPropertyIndex(claimIndex: Int32, newClaimPropertyIndex: Int32) throws -> Void
Default Value
0
Remarks
Selects a property. This is valid from 0 to ClaimPropertyCount.
To inspect a property, first set this property and then inspect ClaimPropertyName and ClaimPropertyValue.
For instance:
for(int i=0;i<component.Claims[0].PropertyCount;i++) { component.Claims[0].PropertyIndex = i; Console.WriteLine(component.Claims[0].PropertyName + ": " + component.Claims[0].PropertyValue); }
The ClaimIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ClaimCount property.