GetItem() public method

public GetItem ( uint index ) : ISvgLength
index uint
return ISvgLength
コード例 #1
0
 /// <summary>
 /// Gets the element at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index of the element to get or set.</param>
 /// <returns>The element at the specified index.</returns>
 public ISvgAnimatedLength this[uint index]
 {
     get {
         if (_animVal != null && _baseVal != null && _animVal.NumberOfItems == _baseVal.NumberOfItems)
         {
             return(new SvgAnimatedLength(_baseVal.GetItem(index), _animVal.GetItem(index)));
         }
         return(null);
     }
 }