CodeProject Members
Microsoft Robotics Studio
Syntax
public class CodeProject
'Declaration
Public Class CodeProject
public ref class CodeProject
The type exposes the following members.
Public Constructors
Name | Description | |
---|---|---|
CodeProjectCodeProjectNew | Overloaded. |
Public Methods
Name | Description | |
---|---|---|
AddAttribute |
Create an attribute and add it to the element node
|
|
ConvertToCFAssemblyReferences |
Converts a StringCollection of assembly references to their equivalent Compact Framework references.
|
|
ConvertToCFProject |
Convert a C# or a VB.Net project to a .Net Compact Framework project
|
|
CreateNewProjectGuid |
Updates the project GUID
|
|
CreateVS2003Element | Overloaded. | |
Equals | (Inherited from Object.) | |
Find |
Find all nodes matching the given XPath expression. Namespaces can be indicated using the Namespace Manager
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
Insert |
Insert XmlNode into document at the location of the xPath exression
|
|
IsCFProject |
Indicates whether the code project is targeting .Net Compact Framework
|
|
IsCSProject |
Indicates whether the code project is a C# project
|
|
IsMsrsReference |
Is the specified assembly name a Global MRI Reference?
|
|
IsProxyProject |
Indicates whether the code project is a proxy project
|
|
IsVBNetProject |
Indicates whether the code project is a Visual Basic.Net project
|
|
IsVCProject |
Indicates whether the code project is a Visual C++ project
|
|
Open |
Open a code project
|
|
Remove |
Removes all XML nodes matching the XPath expression
|
|
Save |
Save a code project if the contents has changed
|
|
SaveAs |
Save a code project if the contents has changed
|
|
ToString | (Inherited from Object.) | |
UpdateGlobalMsrsReferences |
Update references to all Global MSRS references
|
|
UpdateNode |
Updates all elements matching the xPath expression.
|
|
UpsertChildAttribute |
If an element is already present then it is updated. Otherwise a new element is inserted.
|
|
UpsertChildElement |
If an element is already present then it is updated. Otherwise a new element is inserted.
|
Protected Methods
Name | Description | |
---|---|---|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
Public Fields
Name | Description | |
---|---|---|
CompactFrameworkPrefix |
Prefix used to identify Compact Framework components
|
|
VS2003Namespace |
The XML namespace used for C# and VB.Net code projects
|
|
VS2003Prefix |
The XML Namespace prefix used as a short name for the actual XML namespace
|
|
XPathItemGroup |
XPath identifying all item groups
|
|
XPathProject |
XPath identifying top-level project element
|
|
XPathPropertyGroupCondition |
XPath identifying all PropertyGroups having any kind of condition
|
|
XPathPropertyGroupDebug |
XPath identifying all PropertyGroups targeting Debug builds
|
|
XPathPropertyGroupNoCondition |
XPath identifying all PropertyGroups having no conditions
|
|
XPathPropertyGroupRelease |
XPath identifying all PropertyGroups targeting Release builds
|
Public Properties
Name | Description | |
---|---|---|
Document |
The XmlDocument representing the code project
|
|
FilePath |
The file path to the codeproject file being used
|
|
IsDirty |
Indicates whether the document has changed or not
|
|
NamespaceManager |
The namespace manager containing the XML namespaces used in xPath expressions
|
See Also
Microsoft.Dss.Core.Utilities Namespace