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


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


public class Location

The Location type exposes the following members


Public Method Location()


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 within 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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms