VSLangProj
TOC
Collapse the table of content
Expand the table of content

VSLangProj Namespace

 

The VSLangProj namespace represents the project-specific automation model objects for Visual Basic and Visual C#.

ClassDescription
System_CAPS_pubclassBuildManagerEventsClass

This API supports the product infrastructure and is not intended to be used directly from your code. Refer to BuildManagerEvents for this functionality. Do not instantiate from this class.

System_CAPS_pubclassImportsEventsClass

This API supports the product infrastructure and is not intended to be used directly from your code. Refer to ImportsEvents for this functionality. Do not instantiate from this class.

System_CAPS_pubclassPrjBrowseObjectCATID

The PrjBrowseObjectCATID enumeration is used for extension of the properties that appear in the Properties window for projects and project items. Extension is typically used by ISVs to extend the automation interface. Developers may add or delete items from the Properties window, by using the appropriate Category ID (CATID) to extend the automation interface. For more information, see Spectrum of Visual Studio Automation.

System_CAPS_pubclassPrjCATID

Used for automation extension of the Project object.

System_CAPS_pubclassPrjKind

Indicates the type of the Project object.

System_CAPS_pubclassReferencesEventsClass

This API supports the product infrastructure and is not intended to be used directly from your code. Refer to ReferencesEvents for this functionality. Do not instantiate from this class.

InterfaceDescription
System_CAPS_pubinterface_BuildManagerEvents

This API supports the product infrastructure and is not intended to be used directly from your code. Refer to BuildManager for this functionality. Do not instantiate this class.

System_CAPS_pubinterface_dispBuildManagerEvents

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubinterface_dispBuildManagerEvents_Event

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubinterface_dispImportsEvents

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubinterface_dispImportsEvents_Event

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubinterface_dispReferencesEvents

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubinterface_dispReferencesEvents_Event

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubinterface_ImportsEvents

This API supports the product infrastructure and is not intended to be used directly from your code. Refer to ImportsEvents for this functionality. Do not instantiate this class.

System_CAPS_pubinterface_ReferencesEvents

This API supports the product infrastructure and is not intended to be used directly from your code. Refer to ReferencesEvents for this functionality. Do not instantiate this class.

System_CAPS_pubinterfaceBuildManager

Used by third-party developers to manage the portable executable (PE) files produced by running custom tools.

System_CAPS_pubinterfaceBuildManagerEvents

Provides access to the events of the BuildManager. Use this object for functionality and refer to BuildManagerEventsClass for this object’s documentation.

System_CAPS_pubinterfaceFileProperties

Represents the various properties of the specified project file, such as its name, size, the date it was created and last modified, and so forth. This type provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

System_CAPS_pubinterfaceFolderProperties

This type provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

System_CAPS_pubinterfaceImports

Contains the collection of all project imports for a Visual Basic project. The specified imports statements are passed directly to the compiler and apply to all the files in the project.

System_CAPS_pubinterfaceImportsEvents

Provides access to events that are raised when a project Imports statement is added to or deleted from a Visual Basic project. Use this object for functionality and refer to ImportsEventsClass for this object’s documentation.

System_CAPS_pubinterfaceProjectConfigurationProperties

This type provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

System_CAPS_pubinterfaceProjectProperties

This type provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

System_CAPS_pubinterfaceReference

Represents one reference in the project. Including a reference in a project allows you to use any of the public members contained in the reference. Projects may include references to other .NET projects, .NET assemblies, and COM objects.

System_CAPS_pubinterfaceReferences

Contains all the references to external components in a Visual Basic or C# project.

System_CAPS_pubinterfaceReferencesEvents

Provides access to events that are raised by adding, deleting, or changing project references. Use this object for functionality and refer to ReferencesEventsClass for this object’s documentation.

System_CAPS_pubinterfaceVSProject

Contains the information specific to a Visual Basic or C# project. It is returned by the Object object when the project is a Visual Basic or Visual C# project.

System_CAPS_pubinterfaceVSProjectEvents

Provides access to events of the References, Imports, and BuildManager objects.

System_CAPS_pubinterfaceVSProjectItem

Contains the information specific to a Visual Basic or C# project item. It is returned by the Object of the ProjectItem object when the project is a Visual Basic or C# project.

System_CAPS_pubinterfaceWebSettings

Represents the settings for Web projects.

DelegateDescription
System_CAPS_pubdelegate_dispBuildManagerEvents_DesignTimeOutputDeletedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubdelegate_dispBuildManagerEvents_DesignTimeOutputDirtyEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubdelegate_dispImportsEvents_ImportAddedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubdelegate_dispImportsEvents_ImportRemovedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubdelegate_dispReferencesEvents_ReferenceAddedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubdelegate_dispReferencesEvents_ReferenceChangedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubdelegate_dispReferencesEvents_ReferenceRemovedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

EnumerationDescription
System_CAPS_pubenumprjBuildAction

Specifies a value indicating the type of build action for the current project item.

System_CAPS_pubenumprjCompare

Specifies the default string comparison method for a project.

System_CAPS_pubenumprjCopyProjectOption

This enumeration is used by the CopyProject to determine which project files are copied when the project is copied.

System_CAPS_pubenumprjExecCommand

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubenumprjHTMLPageLayout

Used by the DefaultHTMLPageLayout of the Project.Properties collection object. The DefaultHTMLPageLayout specifies the default layout for new HTML pages.

System_CAPS_pubenumprjOptionExplicit

Used by the OptionExplicit property.

System_CAPS_pubenumprjOptionStrict

Used by the OptionStrict property.

System_CAPS_pubenumprjOriginatorKeyMode

Used by the AssemblyOriginatorKeyMode. If the project has an originator key, it may be supplied through a key file or a key container.

System_CAPS_pubenumprjOutputType

Used by the OutputType. Three output types are supported: Windows application, console application, and class library.

System_CAPS_pubenumprjProjectType

Used by the ProjectType. This enumeration lists the two types of projects, local and Web.

System_CAPS_pubenumprjReferenceType

Indicates whether a Reference is a .NET Framework assembly or a COM component.

System_CAPS_pubenumprjScriptLanguage

Used by the DefaultClientScript. Two script languages are supported, ECMAScript (JScript, JavaScript) and VBScript.

System_CAPS_pubenumprjStartAction

Used by the StartAction property to indicate the start action of a project for debugging.

System_CAPS_pubenumprjTargetSchema

Used by the DefaultTargetSchema to define the HTML platform the application needs to be compatible with.

System_CAPS_pubenumprjWarningLevel

Used by the WarningLevel property to indicate the types of warnings displayed during compilation.

System_CAPS_pubenumprjWebAccessMethod

Used by the WebAccessMethod.

System_CAPS_pubenumtagWebPrjAuthoringAccess

Used by the WebSettings of the VSLangProj.

System_CAPS_pubenumwebPrjAuthoringAccess

Used by the AuthoringAccess property.

System_CAPS_pubenumwebrefUrlBehavior

Used by the UrlBehavior property.

While Visual Studio offers a core project automation model, it is, by its nature, generic and language-agnostic so as to accommodate all languages in Visual Studio. The VSLangProj assemblies, however, offer a richer project automation model, allowing programmatic access to language-specific features not offered in the core project model.

There are currently three versions of VSLangProj:

VSLangProj2 and VSLangProj80 are evolutions of the original VSLangProj namespace. VSLangProj2 was introduced in Visual Studio 2003, and VSLangProj80 was introduced in Visual Studio 2005.

Rather than making changes or additions to the original VSLangProj assembly and risk breaking code written in previous versions of Visual Studio, the changes were instead placed into new versions of the assemblies. The types and members they contain derive from the original VSLangProj assembly.

For example, VSLangProj has a Reference object. A new version of Reference that included additions and changes was added to the newer VSLangProj2 assembly and named Reference2 to avoid confusion with the original version. Updates made to Reference2 were added to a new type called Reference3 in the new VSLangProj80 assembly.

Return to top
Show:
© 2016 Microsoft