System.Collections.Specialized.BitVector32.CreateSection C# (CSharp) Method

CreateSection() public static method

public static CreateSection ( short maxValue ) : System.Collections.Specialized.BitVector32.Section
maxValue short
return System.Collections.Specialized.BitVector32.Section
        public static System.Collections.Specialized.BitVector32.Section CreateSection(short maxValue) { throw null; }
        public static System.Collections.Specialized.BitVector32.Section CreateSection(short maxValue, System.Collections.Specialized.BitVector32.Section previous) { throw null; }

Same methods

BitVector32::CreateSection ( short maxValue, System previous ) : System.Collections.Specialized.BitVector32.Section

Usage Example

示例#1
0
 /// <summary>Creates the first <see cref="T:System.Collections.Specialized.BitVector32.Section" /> in a series of sections that contain small integers.</summary>
 /// <returns>A <see cref="T:System.Collections.Specialized.BitVector32.Section" /> that can hold a number from zero to <paramref name="maxValue" />.</returns>
 /// <param name="maxValue">A 16-bit signed integer that specifies the maximum value for the new <see cref="T:System.Collections.Specialized.BitVector32.Section" />. </param>
 /// <exception cref="T:System.ArgumentException">
 ///   <paramref name="maxValue" /> is less than 1. </exception>
 public static BitVector32.Section CreateSection(short maxValue)
 {
     return(BitVector32.CreateSection(maxValue, new BitVector32.Section(0, 0)));
 }