BitVector32.Section Structure

 

Represents a section of the vector that can contain an integer number.

Namespace:   System.Collections.Specialized
Assembly:  System (in System.dll)

[<Sealed>]
type Section = struct end

NameDescription
System_CAPS_pubpropertyMask

Gets a mask that isolates this section within the BitVector32.

System_CAPS_pubpropertyOffset

Gets the offset of this section from the start of the BitVector32.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is the same as the current BitVector32.Section object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(BitVector32.Section)

Determines whether the specified BitVector32.Section object is the same as the current BitVector32.Section object.

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for the current BitVector32.Section, suitable for hashing algorithms and data structures, such as a hash table.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current BitVector32.Section.(Overrides ValueType.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticToString(BitVector32.Section)

Returns a string that represents the specified BitVector32.Section.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(BitVector32.Section, BitVector32.Section)

Determines whether two specified BitVector32.Section objects are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(BitVector32.Section, BitVector32.Section)

Determines whether two BitVector32.Section objects have different values.

Use CreateSection to define a new section. A BitVector32.Section is a window into the BitVector32 and is composed of the smallest number of consecutive bits that can contain the maximum value specified in CreateSection. For example, a section with a maximum value of 1 is composed of only one bit, whereas a section with a maximum value of 5 is composed of three bits. You can create a BitVector32.Section with a maximum value of 1 to serve as a Boolean, thereby allowing you to store integers and Booleans in the same BitVector32.

The following code example uses a BitVector32 as a collection of sections.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: