In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "what is the C#conventional extensibility model". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
C#General Extensibility Model
The VSProjectItem object is a project item copy of the VSProject object. In the C#general extensibility model, project items are represented by generic ProjectItem objects. The ProjectItem.Object property is of type Object, whereas in Visual Basic or Visual C#projects it is of type VSProjectItem. In a macro, converting the object to a VSProjectItem type might look like:
Macro editor Dim pi As VSProjectItem pi = CType(DTE.Solution.Projects.Item(1).ProjectItems.Item(1).Object, _ VSProjectItem)
The VSProjectItem object contains attributes linked to the parent project item and project, as well as a method that forces a custom tool to execute on the item. BuildManager object handles custom tool output.
Properties Properties
The C#general extensibility model has Properties properties in three objects:
Project object The properties in this object are equivalent to the properties in the Common Properties tab of the project's Property Pages dialog box in the IDE.
Configuration object The properties in this object are equivalent to the properties in the Configuration Properties tab of the project's Property Pages dialog box in the IDE.
ProjectItem object The properties in this object are equivalent to the properties in the Properties window when a project item is selected in Solution Explorer.
In each case, the Properties property is a collection of objects of type Property. Property objects can be obtained from the collection by specifying the one-based index of the property or its name. The content of this collection depends on the language. In the case of a project item, this content also depends on whether the item is a file or folder.
"What is the C#general extensibility model" is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.