RemoteCodeContainer Class

Definition

A type that represents the server-side version of a CodeContainer.

public ref class RemoteCodeContainer sealed : IComparable<Microsoft::VisualStudio::Shell::CodeContainerManagement::RemoteCodeContainer ^>
public sealed class RemoteCodeContainer : IComparable<Microsoft.VisualStudio.Shell.CodeContainerManagement.RemoteCodeContainer>
type RemoteCodeContainer = class
    interface IComparable<RemoteCodeContainer>
Public NotInheritable Class RemoteCodeContainer
Implements IComparable(Of RemoteCodeContainer)
Inheritance
RemoteCodeContainer
Implements

Constructors

RemoteCodeContainer(String, Guid, Uri, Uri, DateTimeOffset, IEnumerable<KeyValuePair<String,String>>)

Initializes a new RemoteCodeContainer instance.

Properties

BrowseOnlineUrl

The user-browsable location of this RemoteCodeContainer on the web. An absolute URL.

CodeContainerProvider

The unique identifier of the ICodeContainerProvider that is used to acquire this RemoteCodeContainer.

DisplayUrl

The URL that is used to present RemoteCodeContainer.

ExtraProperties

All properties that are currently present for this RemoteCodeContainer on the cloud but are not recognized by this version of the type. This is intended for the purposes of forward-compatibility with any properties that may be added in the future.

LastAccessed

Last-accessed timestamp.

Name

The name of the RemoteCodeContainer repository in its original web location.

Methods

CompareTo(RemoteCodeContainer)

Compares two instances of RemoteCodeContainer based on their LastAccessed timestamp.

WithBrowseOnlineUrl(Uri)

Returns an instance of RemoteCodeContainer whose BrowseOnlineUrl is equal to browseOnlineUrl.

WithCodeContainerProvider(Guid)

Returns an instance of RemoteCodeContainer whose CodeContainerProvider is equal to codeContainerProvider.

WithDisplayUrl(Uri)

Returns an instance of RemoteCodeContainer whose DisplayUrl is equal to displayUrl.

WithExtraProperties(IEnumerable<KeyValuePair<String,String>>)

Returns an instance of RemoteCodeContainer whose ExtraProperties is equal to extraProperties.

WithLastAccessed(DateTimeOffset)

Returns an instance of RemoteCodeContainer whose LastAccessed is equal to lastAccessed.

WithName(String)

Returns an instance of RemoteCodeContainer whose Name is equal to name.

Applies to