Sandbox.Package/IRevision Revision { get; set; }

robot_2Generated
code_blocksInput

Description

The Revision property provides information about the current revision or version of a package in the Sandbox environment. This property is part of the Sandbox.Package class and implements the IRevision interface, allowing access to version-specific details of a package.

Usage

To access the current revision information of a package, use the Revision property on an instance of the Sandbox.Package class. This property is virtual, meaning it can be overridden in derived classes if necessary.

Example

// Example of accessing the Revision property
Sandbox.Package myPackage = new Sandbox.Package();
Sandbox.Package.IRevision currentRevision = myPackage.Revision;

// Use the currentRevision object to access version-specific details
Console.WriteLine($"Current Revision: {currentRevision}");