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.AttributeDescriptionprivate_binpathThe 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.codebaseThe path and file name of the temporary PE relative to the .nameThe .NET Framework simple name of the assembly being generated. versionThe major, minor, build, and revision version numbers. The value is always "0.0.0.0".snapshot_idAn integer that is incremented each time the PE is recompiled.replaceableIndicates 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 Visual Studio 自动化的范围. 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. 指定一个值,该值指示当前项目项的生成操作的类型。 不执行任何操作。 编译文件。 该文件包含在内容项目输出组中(请参见 部署应用程序和组件) 文件作为资源包括在主要的生成程序集中或附属程序集中。 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. 使用。支持三种输出类型:Windows 应用程序、控制台应用程序和类库。 Windows 应用程序。 控制台应用程序。 类库。 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. 表示项目中的一个引用。在项目中包含引用,使您可以使用该引用中包含的任意公共成员。项目可以包含对其他 .NET 项目、.NET 程序集和 COM 对象的引用。 获取引用的内部版本号。只读。 Long 类型。 返回值取决于引用类型。 引用类型 返回的值 程序集 引用的内部版本号;0-9999。 COM 0 获取包含某个对象的集合,该对象支持此属性或包含在此代码构造中。 返回与对象相关的集合。有关更多信息,请参见备注。 获取选定项所属的项目。只读。 返回一个 Project 对象。 确定是否将引用复制到本地 Bin 路径。 布尔型。 获取引用的区域性字符串。只读。 返回值取决于引用类型。 引用类型 返回的值 程序集 “区域性”字符串。例如,“EN-US”代表“美国英语”。 COM 区域设置 ID。该字符串是引用的类型库的十六进制区域设置 ID。例如,“0”代表多语言,“409”代表“美国英语”。 获取引用的文本说明。只读。 对于 对象,返回值取决于引用类型。 引用类型 返回的值 程序集 程序集说明。 COM 类型库说明。 获取顶级扩展性对象。 返回一个 DTE 对象。 如果请求的扩展程序对象可用于此对象,则获取该扩展程序对象。 如果没有可用的扩展程序对象,则该属性返回 Nothing 或 null。 必需。要返回的扩展程序的名称。 获取对象的扩展程序类别 ID (CATID)。 以字符串形式返回表示对象 CATID 的 GUID。 获取此对象的可用扩展程序的列表。 一个包含符合自动化的字符串数组的对象。 获取引用的唯一标识符。只读。 返回的字符串取决于引用类型。 引用类型 返回的值 程序集 程序集名称(没有路径或扩展名的程序集名称) COM 格式为: "GUID\major.minor\localeid\wrappertool" 例如, "{00000205-0000-0010-8000-00AA006D2EA4}\2.5\409\tlbimp" 将被返回(ActiveX Data Objects 2.5)。 获取引用的主版本号。只读。 Long 类型。 返回的版本号取决于引用类型。 引用类型 返回的值 程序集 引用的主版本号;0–9999。 COM 一个 long 类型的值。 获取引用的次版本号。只读。 Long 类型。 返回的版本号取决于引用类型。 引用类型 返回的值 程序集 引用的次版本号;0–9999。 COM 一个 long 类型的值。 获取对象的名称。只读。 String 类型。 返回的字符串取决于引用类型。 引用类型 返回的值 程序集 程序集名称,是没有扩展名的引用文件名。 COM 被引用类型库的包装名称,是没有扩展名的文件名。 获取引用文件的路径。只读。 String 类型。该属性返回引用的路径和文件名(若引用可解析)。如果路径不可解析,则返回空字符串。有关解析引用的信息,请参见 获取引用的程序集的公钥标记。 一个字符串,表示引用的程序集的公钥标记。 从包含引用的 对象中获取该引用。 获取引用的修订号。只读。 Long 类型。 返回的版本号取决于引用类型。 引用类型 返回的值 程序集 引用的修订版本号;0–9999。 COM 0 如果引用是一个项目,则获取 Project 对象。否则,它返回 Nothing(null 引用)。只读。 返回一个 Project 对象。 获取指示引用是否用公钥/私钥对加以签名的值。只读。 如果引用是用公钥/私钥对签名的,则为 true。 获取一个 值,它指示引用是程序集还是 COM 组件。只读。 返回一个 枚举值。 获取选定引用的版本。 一个字符串,它表示选定引用的版本。 包含对 Visual Basic 或 C# 项目中的外部组件的所有引用。 向项目添加新的引用。 返回一个 对象。 必需。COM 或 .NET Framework 引用的路径。 该参数可采用三种形式: 简单的 .NET Framework 对象名,例如“System”。 .NET Framework 文件名(.tlb、.dll 或 .ocx 文件)。 COM 库文件(.tlb、.dll、.ocx 或 .exe 文件)。对于 COM 对象,路径需要包含完整路径和文件名,比如“D:\SomeApplication\SomeApp.dll”。请参见下面的“COM 引用”一节中对添加 COM .exe 文件引用的限制。 将引用添加到 ActiveX 类型库。 为所请求的 ActiveX 库对象返回一个 对象。 必需。类型库的全局唯一标识符 (GUID),表示为一个字符串。 可选。主版本号。如果省略,则使用 0。 可选。次版本号。如果省略,则使用 0。 可选的区域设置 ID。有关更多信息,请参见 用于为类型库生成程序集包装的包装工具。下表描述了受支持的值。 值 结果 "tlbimp" 项目系统生成适合访问 COM 对象的方法和属性的一般包装。 "aximp" 项目系统生成 Windows 窗体用于 ActiveX 宿主的包装。 "" (空字符串) 项目系统检查指定类型库的主互操作性程序集是否存在。如果找到了,则该程序集将被用作 COM 对象的方法和属性的包装。如果没有找到,则行为和指定了 "tlbimp" 时相同。 向项目添加新的项目引用并返回新创建的 对象。 必需。要添加的 Project 对象。 获取选定项所属的项目。只读。 返回一个 Project 对象。 获取一个值,该值指示集合中对象的数目。只读。 集合中的对象数。 获取顶级扩展性对象。 返回一个 对象。 搜索项目中的引用,以查找具有指定的 的对象。 返回一个 对象。 必需。 对象的 获取集合中项的枚举。 枚举数。 返回一个已索引的 对象。 返回一个 对象。 必需。它可以是 对象的 字符串,或者是 集合中从 1 开始的索引。 获取给定对象的直接父对象。 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. 包含特定于某 Visual Basic 项目或 C# 项目的信息。当项目为 Visual Basic、Visual C# 或 Visual J# 项目时,它由 对象返回。 向项目添加对 Web 服务的引用。将向项目的“Web 引用”文件夹添加新的 Web 服务引用子文件夹。该新文件夹包含与该 Web 服务相关的若干其他项目项。该方法返回与新的“Web 服务”文件夹关联的 对象。 返回 对象,该对象是新的“Web 引用”文件夹。 必需。通常,这是带有 .disco 或 .vsdisco 扩展名的文件名 URL。 获取 的 BuildManager 对象。只读。 返回一个 对象。 将 Web 项目的部分或全部内容复制到新位置。 必需。新项目的目标文件夹。如果此文件夹不存在,将创建它。该字符串的格式为“http://ServerName/CopyName/”。 必需。如果要复制的项目使用的是文件共享访问,则为文件共享的 UNC 路径。如果项目使用的是 FrontPage 服务器扩展访问,则使用空字符串。 必需。用来确定复制哪些项目文件的 值,是复制所有文件、所有项目文件还是仅复制运行应用程序所需的文件。 必需。用户的网络登录 ID。 必需。用户的密码。 为项目创建“Web 引用”文件夹。 返回一个 对象。 获取顶级扩展性对象。 返回一个 对象。 获取 对象,它使您可以响应 对象的事件。 一个 对象。 仅由 Microsoft 内部使用。         生成用于构成程序集强名称的公钥/私钥文件。 要生成的文件的名称。 如果为真,则只生成公钥。 生成项目内的唯一文件名。用于命名新项目项。 在项目或项目文件夹内是唯一的文件名。如果第一个参数是 实例,则生成的名称在根项目文件夹内将是唯一的。该文件名将采用的格式为根?.扩展名,其中 ? 为一个或多个数字(1、2、3 等)。 生成的名称将该值作为扩展名。 对象或文件夹 对象。生成的文件名在此上下文中将是唯一的。 生成的文件名将以此字符串起始。 获取与项目关联的 对象。对于 C# 项目,将 Imports 属性设置为 Nothing(null 引用)。只读。 返回一个 对象集合。 获取与 Visual Basic、Visual C# 或 Visual J# 项目关联的泛型 对象。只读。 返回一个 对象。 获取项目的 集合。只读。 包含有 对象的 集合,其中每个对象都表示一个引用。 刷新“解决方案资源管理器”中项目的外观,刷新引用,并获取文件的最新编译的版本。 获取包含 Visual Basic 或 C# 的项目项模板的目录的完整路径。只读。 返回表示模板路径的字符串值。 获取表示项目的“Web 引用”文件夹的 对象。如果该文件夹不存在,此属性就会返回 Nothing(null 引用)。只读。 返回表示“Web 引用”文件夹的 对象。 获取或设置指示 Web 项目是联机工作还是脱机工作的值。当脱机工作时,开发继续在项目文件的一个脱机存储区上进行,以便服务器中的项目文件不被更改。 对于 Web 应用程序,在脱机工作时该属性返回 true,在联机工作时返回 false。对于本地项目,此属性返回 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. 表示 Web 项目的设置。 获取或设置新项目的 Web 访问方法。 一个 值。 获取或设置一个值,该值用于指示默认情况下是否为新项目启用 FrontPage 服务器扩展的链接修复功能。如果在项目开发期间项目中的页面链接发生更改,链接修复会修复这些页面链接。 一个布尔值,指示是否为新项目启用链接修复功能。 将 Web 项目缓存目录重置为默认目录 获取或设置项目文件的脱机位置。 指定默认 Web 缓存目录的字符串。