VSLangProj
Refer to for this functionality. Do not instantiate this class.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Refer to for this functionality. Do not instantiate this class.
Refer to for this functionality. Do not instantiate this class.
Used by third-party developers to manage the portable executable (PE) files produced by running custom tools.
Builds a temporary portable executable (PE) and returns its description in an XML string.
The XML description of the portable executable follows this format, shown for a custom tool output file named DataSchema.cs:
Copy Code<root>
<Application private_binpath = "AbsoluteTemporaryOutputPath"/>
<Assembly
codebase = "DataSchema.cs.dll"
name = "DataSchema.cs"
version = "0.0.0.0"
snapshot_id = "0"
replaceable = "True"
/>
</root>
The attributes are described below.
Attribute
Description
private_binpath
The full path of the directory that contains the temporary PE. This path is combined with the attribute to create the full path to the temporary PE assembly.
codebase
The path and file name of the temporary PE relative to the .
name
The .NET Framework simple name of the assembly being generated.
version
The major, minor, build, and revision version numbers. The value is always "0.0.0.0".
snapshot_id
An integer that is incremented each time the PE is recompiled.
replaceable
Indicates whether the project system can replace the assembly, and whether a designer should not hold a write lock on the file. Is always set to true.
Required. Moniker string for the temporary PE to build. The moniker string must be one of the strings returned by the property.
Gets the project of which the selected item is a part. Read-only.
Returns a object.
Gets the temporary portable executable (PE) monikers for a project.
The returned object is an array of strings, where each string in the array is a temporary PE moniker.
Gets the top-level extensibility object.
Returns a object.
Gets the immediate parent object of a given object.
Parent object
Provides access to the events of the . Use this object for functionality and refer to for this object’s documentation.
Refer to for this functionality. Do not instantiate from this class.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Raised when a project item that generates a portable executable is deleted from the project.
Raised when a custom tool that results in a portable executable being generated or updated is run on a project item.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
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.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This type provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
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.
Adds a new import statement to the collection.
Required. The import statement string. The format of an import string is:
[alias = ]namespace[.*]
Items enclosed in square brackets are optional.
Gets the project that contains the selected item. Read-only.
Returns a object.
Gets a value indicating the number of objects in the collection. Read-only.
The number of objects in the collection.
Gets the top-level extensibility object.
Returns a object.
Gets an enumeration for items in a collection.
An enumerator.
Returns an indexed member of the object. The Item method is the default method for the object.
Returns an imports statement string by its position in the collection.
Required. A one-based index into object.
Gets the immediate parent object of a given object.
Parent object.
Removes an imports statement from the collection. The imports statement to be removed may be indexed by either the string specifying the import or by a one-based index.
Required. Either a one-based index into the collection, or the imports statement string to remove.
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 for this object’s documentation.
Refer to for this functionality. Do not instantiate from this class.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Occurs immediately after an Imports statement has been added to a Visual Basic project.
Occurs immediately after an Imports statement is removed from a Visual Basic project.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
The 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 The Spectrum of Visual Studio Automation.
Visual C# project configuration.
Visual C# file project item.
Visual C# folder project item.
Visual C# project.
Visual C# project configuration.
Visual C# reference.
Visual Basic project configuration.
Visual Basic file project item.
Visual Basic folder project item.
Visual Basic project.
Visual Basic project configuration.
Visual Basic reference.
Macro project configuration CATID.
Macro project file project item.
Macro project folder project item.
Macro project reference.
Specifies a value indicating the type of build action for the current project item.
No action is taken.
The file is compiled.
The file is included in the Content project output group (see Deploying Applications and Components)
The file is included in the main generated assembly or in a satellite assembly as a resource.
Used for automation extension of the object.
Project automation object CATID.
ProjectItem automation object CATID.
Specifies the default string comparison method for a project.
Comparison based on internal binary representations.
Comparison based on case-insensitive text order determined by locale.
This enumeration is used by the to determine which project files are copied when the project is copied.
Copy only the files needed to run the application.
Copy all the project files.
Copy all the files in the source project folder.
Microsoft Internal Use Only.
Used by the of the Project.Properties collection object. The specifies the default layout for new HTML pages.
HTML elements are arranged according to the order that they occur in the HTML markup.
HTML elements are positioned using x and y coordinates.
Indicates the type of the Project object.
Visual C# Projects/Project automation object kind.
Visual Basic Projects/Project automation object kind.
Macro Projects/Project automation object kind.
Used by the property.
Variables do not need to be declared before use.
Variables must be declared before use.
Used by the property.
Implicit conversions are allowed.
Implicit narrowing conversions are prohibited.
Used by the . If the project has an originator key, it may be supplied through a key file or a key container.
Assembly has no key.
Key is in a file.
Key is in a container.
Used by the . Three output types are supported: Windows application, console application, and class library.
Windows application.
Console application.
Class library.
Used by the . This enumeration lists the two types of projects, local and Web.
Local project.
Web project.
Indicates whether a Reference is a .NET Framework assembly or a COM component.
a .NET Framework Assembly.
A COM object.
Used by the . Two script languages are supported, ECMAScript (JScript, JavaScript) and VBScript.
ECMAScript (JScript, JavaScript)
VBScript
Used by the StartAction property to indicate the start action of a project for debugging.
Indicates that the executable file (for Windows Application and Console Application projects) or the Start Page (for Web projects) should be started when the application is debugged. Class library projects cannot be started directly.
Indicates that a specific program should be started when the application is debugged.
Indicates that a particular URL should be accessed when the application is debugged.
Indicates that no project, program, or URL should be started when the application is debugged.
Used by the to define the HTML platform the application needs to be compatible with.
Internet Explorer 3.2 and Navigator 3.0.
Internet Explorer 4.0 and higher.
Netscape Navigator 4.0.
Used by the WarningLevel property to indicate the types of warnings displayed during compilation.
Turns off emission of all warning messages.
Displays severe warning messages.
C# only. Displays level 1 warnings plus certain less-severe warnings, such as warnings about hiding class members.
C# only. Displays level 2 warnings plus certain less-severe warnings, such as warnings about expressions that always evaluate to true or false.
C# only. Displays all level 3 warnings plus informational warnings. This is the default warning level at the command line.
Used by the .
Use the Windows file system.
Use FrontPage Server Extensions.
This type provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This type provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
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.
Gets the build number of the reference. Read-only.
Long.
The value returned depends on the reference type.
Reference Type
Value Returned
Assembly
Build number of the reference; 0-9999.
COM
0
Gets the collection containing the object supporting this property or contained within this code construct.
Returns a collection relating to the object. See Remarks for more information.
Gets the project that the selected item is a part of. Read-only.
Returns a Project object.
Determines whether the reference is copied to the local bin path.
Boolean.
Gets the culture string of a reference. Read-only.
The return value depends on the reference type.
Reference Type
Value Returned
Assembly
Culture string. For example, "EN-US" for English - United States.
COM
Locale ID. The string is the hex locale ID of the type library being reference. For example, "0" for multilanguage or "409" for English - United States.
Gets a text description of the reference. Read-only.
For a object, the return value depends on the reference type.
Reference Type
Value Returned
Assembly
Assembly description.
COM
Type library description.
Gets the top-level extensibility object.
Returns a DTE object.
Gets the requested Extender object if it is available for this object.
This property returns Nothing or null is no Extender object is available.
Required. The name of the Extender to return.
Gets the Extender category ID (CATID) for the object.
Returns the GUID representing the CATID of the object as a string.
Gets a list of available Extenders for the object.
An object containing an automation-compliant array of strings.
Gets the unique identifier of the reference. Read-only.
The string returned depends on the reference type.
Reference Type
Value Returned
Assembly
Assembly name (assembly name without path or extension)
COM
The format is:
"GUID\major.minor\localeid\wrappertool"
For example,
"{00000205-0000-0010-8000-00AA006D2EA4}\2.5\409\tlbimp"
is returned for ActiveX Data Objects 2.5.
Gets the major version number of the reference. Read-only.
Long.
The number returned depends on the reference type.
Reference Type
Value Returned
Assembly
Major release number of the reference; 0–9999.
COM
A long value.
Gets the minor version number of the reference. Read-only.
Long.
The number returned depends on the reference type.
Reference Type
Value Returned
Assembly
Minor release number of the reference; 0–9999.
COM
A long value.
Gets the name of the object. Read-only.
String.
The string returned depends on the reference type.
Reference Type
Value Returned
Assembly
The assembly name, which is the file name of the reference without the extension.
COM
The name of the wrapper for the referenced type library, which is the file name without the extension.
Gets the path to the reference file. Read-only.
String. This property returns the path and file name of the reference, if it can be resolved. If the path cannot be resolved, then a blank string is returned. For information on resolving references, see .
Gets the public key token for the referenced assembly.
A string representing the public key token for the referenced assembly.
Gets the reference from the object that contains it.
Gets the revision number of the reference. Read-only.
Long.
The number returned depends on the reference type.
Reference Type
Value Returned
Assembly
Revision version number of the reference; 0–9999.
COM
0
Gets a Project object if the reference is a project. Otherwise, it returns Nothing (a null reference). Read-only.
Returns a Project object.
Gets whether the reference is signed with a public/private key pair. Read-only.
true if the reference is signed with a public/private key pair.
Gets a value indicating whether the reference is an assembly or a COM component. Read-only.
Returns a enumeration value.
Gets the version of the selected reference.
A string representing the version of the selected reference.
Contains all the references to external components in a Visual Basic or C# project.
Adds a new reference to the project.
Returns a object.
Required. The path of a COM or .NET Framework reference.
This parameter may take three forms:
A simple .NET Framework object name, such as "System".
A .NET Framework file name (.tlb, .dll, or .ocx file).
A COM library file (.tlb, .dll, .ocx, or .exe file). For COM objects, the path needs to include a full path and file name, such as, "D:\SomeApplication\SomeApp.dll". See restrictions in the "COM References" section below on adding COM .exe file references.
Adds a reference to an ActiveX type library.
Returns a object for the requested ActiveX library object.
Required. The type library's globally unique identifier (GUID), expressed as a string.
Optional. The major version number. If omitted, 0 is used.
Optional. The minor version number. If omitted, 0 is used.
Optional locale id. For more information, see .
The wrapper tool to be used when generating an assembly wrapper for the type library. The supported values are described in the following table.
Value
Result
"tlbimp"
The project system generates a generic wrapper suitable for accessing the COM object's methods and properties.
"aximp"
The project system generates a wrapper that Windows forms uses for ActiveX hosting.
"" (empty string)
The project system checks if a primary interoperability assembly for the specified type library exists. If found, then that assembly is used as the wrapper for the COM object's methods and properties. If not found, the behavior is the same as if "tlbimp" were specified.
Adds a new project reference to the project and returns the newly created object.
Required. The Project object to be added.
Gets the project of which the selected item is a part. Read-only.
Returns a Project object.
Gets a value indicating the number of objects in the collection. Read-only.
The number of objects in the collection.
Gets the top-level extensibility object.
Returns a object.
Searches the references in a project for an object that has the specified .
Returns a object.
Required. The of the object.
Gets an enumeration for items in a collection.
An enumerator.
Returns an indexed object.
Returns a object.
Required. Either the string of the object or a one-based index into the collection.
Gets the immediate parent object of a given object.
Provides access to events that are raised by adding, deleting, or changing project references. Use this object for functionality and refer to for this object’s documentation.
Refer to for this functionality. Do not instantiate from this class.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Occurs immediately after a reference is added to a project.
Occurs immediately after a reference is modified in a project.
Occurs immediately after a reference is removed from a project.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Microsoft Internal Use Only.
Used by the of the .
Use the Windows file system.
Use FrontPage Server Extensions.
Contains the information specific to a Visual Basic or C# project. It is returned by the object when the project is a Visual Basic, Visual C#, or Visual J# project.
Adds a reference to a Web Service to the project. A new Web Service reference subfolder is added to the Web References folder of the project. This new folder contains several other project items related to the Web Service. The method returns the object associated with the new Web Service folder.
Returns a object that is the new Web Reference folder.
Required. Typically, this is a file name URL with a .disco or .vsdisco extension.
Gets the BuildManager object of the . Read-only.
Returns a object.
Copies some or all of a Web project to a new location.
Required. The destination folder for the new project. The folder is created if it does not exist. This string takes the form "http://ServerName/CopyName/".
Required. The UNC path for file-sharing if the project to be copied is using file-share access. Use the empty string if the project is using FrontPage Server Extensions access.
Required. A value that determines which project files are copied — all the files, all the project files, or only the files needed to run the application.
Required. The user's network login ID.
Required. The user's password.
Creates the Web References folder for the project.
Returns a object.
Gets the top-level extensibility object.
Returns a object.
Gets a object that allows you to respond to events of the , , and objects.
A object.
Microsoft Internal Use Only.
Generates a public/private key file used to form a strong name for the assembly.
This name of the file to be generated.
If true, only the public key is generated.
Generates a unique file name within the project. Used for naming new project items.
A file name that is unique in the project or project folder. If the first parameter is a instance, then the name generated will be unique within the root project folder. The file name will take the form Root?.Extension, where ? is one or more numerals (1, 2, 3, and so on).
The name generated will have this value as the extension.
A object or a folder object. The file name generated will be unique within this context.
The name generated will start with this string.
Gets the object associated with the project. For C# projects, the Imports property is set to Nothing (a null reference). Read-only.
Returns an object collection.
Gets the generic object associated with the Visual Basic, Visual C#, or Visual J# project. Read-only.
Returns a object.
Gets the collection for the project. Read-only.
A collection containing objects, each one representing a reference.
Refreshes the appearance of the project in Solution Explorer, refreshes the references, and gets the latest compiled versions of the files.
Gets the full path of the directory that contains the project-item templates for Visual Basic or C#. Read-only.
Returns a string value representing the template path.
Gets the object representing the Web References folder of the project. If the folder does not exist, this property returns Nothing (a null reference). Read-only.
Returns a object representing the Web References folder.
Gets or sets whether a Web project is working online or offline. When it is working offline, development continues on an offline store of project files, so that the project files on the server are not changed.
For Web applications, this property returns true if working offline and false if working online. For local projects, this property returns false.
Provides access to events of the , , and objects.
Gets a object that provides access to the BuildManager events.
Returns a object.
Gets an object that provides access to the Imports object events.
Returns an object.
Gets a object that provides access to the events of the collection.
Returns a object.
Contains the information specific to a Visual Basic or C# project item. It is returned by the of the object when the project is a Visual Basic or C# project.
Gets the project that the selected item is a part of. Read-only.
Returns a object.
Returns the top-level extensibility object.
Returns a object.
Gets the object associated with the given object.
Returns a object.
Runs the custom tool associated with a ProjectItem object. A custom tool is a registered component that implements the IVsSingleFileGenerator interface. Custom tools are similar to designers and editors.
Used by the AuthoringAccess property.
Use the Windows file system.
Use FrontPage Server Extensions.
Used by the UrlBehavior property.
Web reference URL is contained in the proxy code.
Web reference URL is retrieved as a dynamic property.
Represents the settings for Web projects.
Gets or sets the Web access method for new projects.
A value.
Gets or sets whether the link repair feature of FrontPage Server Extensions is enabled by default for new projects. Link repair fixes links to pages within the project if they change during project development.
A Boolean value indicating whether the link repair feature is enabled for new projects.
Resets the Web Project Cache Directory to the default
Gets or sets the offline location of project files.
A string specifying the default Web cache directory.