CodeContainerLocalProperties Constructor

Definition

Initializes a new instance of CodeContainerLocalProperties.

public:
 CodeContainerLocalProperties(System::String ^ fullPath, Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerType type, Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerSourceControlProperties ^ sourceControlProperties);
 CodeContainerLocalProperties(std::wstring const & fullPath, Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerType type, Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerSourceControlProperties const & sourceControlProperties);
public CodeContainerLocalProperties (string fullPath, Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerType type, Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerSourceControlProperties sourceControlProperties);
new Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerLocalProperties : string * Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerType * Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerSourceControlProperties -> Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerLocalProperties
Public Sub New (fullPath As String, type As CodeContainerType, sourceControlProperties As CodeContainerSourceControlProperties)

Parameters

fullPath
String

The full path on disk.

type
CodeContainerType

Type, e.g. solution, folder.

sourceControlProperties
CodeContainerSourceControlProperties

Source Control properties.

Exceptions

Thrown if fullPath is null.

Thrown if fullPathis either empty or whitespace.

Applies to