BlockLineRange Structure

Represents the line range data for a code block. This class and its members are reserved for internal use and are not intended to be used in your code.

Namespace:  Microsoft.VisualStudio.Coverage.Analysis
Assembly:  Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)

Syntax

'Declaration
Public Structure BlockLineRange _
    Implements IEquatable(Of BlockLineRange), IComparable(Of BlockLineRange)
public struct BlockLineRange : IEquatable<BlockLineRange>, 
    IComparable<BlockLineRange>
public value class BlockLineRange : IEquatable<BlockLineRange>, 
    IComparable<BlockLineRange>
[<Sealed>]
type BlockLineRange =  
    struct 
        interface IEquatable<BlockLineRange>
        interface IComparable<BlockLineRange>
    end
JScript supports the use of structures, but not the declaration of new ones.

The BlockLineRange type exposes the following members.

Properties

  Name Description
Public property BlockIndex Gets the index of the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property EndColumn Gets the number of the last column of the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property EndLine Gets the number of the end line of the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property IsValid Returns a value that indicates whether the code block is valid. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property SourceFile Gets the source file. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property StartColumn Gets the number of the starting column for the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property StartLine Gets the starting line for the code block. The set accessor is internal only. This class and its members are reserved for internal use and are not intended to be used in your code.

Top

Methods

  Name Description
Public method CompareTo Compares a code block with the current code block.
Public method Equals(Object) Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).)
Public method Equals(BlockLineRange) Determines whether the provided code block is equal to the current code block.
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two code block line range objects are equal in code that uses the equality operator (==).
Public operatorStatic member GreaterThan Determines whether the first of two code block line range objects is greater than the second object when using the greater-than operator (>).
Public operatorStatic member Inequality Determines whether two code block line range objects are not equal when using the inequality operator (!=).
Public operatorStatic member LessThan Determines whether the first of two code block line range objects is less than the second object when using the less-than operator (<).

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Coverage.Analysis Namespace