AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns information about the location of a change or comment in the comparison between two commits or a pull request.

Inheritance Hierarchy

System.Object
  Amazon.CodeCommit.Model.Location

Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z

Syntax

C#
public class Location

The Location type exposes the following members

Constructors

NameDescription
Public Method Location()

Properties

NameTypeDescription
Public Property FilePath System.String

Gets and sets the property FilePath.

The name of the file being compared, including its extension and subdirectory, if any.

Public Property FilePosition System.Int64

Gets and sets the property FilePosition.

The position of a change in a compared file, in line number format.

Public Property RelativeFileVersion Amazon.CodeCommit.RelativeFileVersionEnum

Gets and sets the property RelativeFileVersion.

In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5