VCWebServiceProxyGeneratorTool::Namespace Property
Gets or sets an object defining the parent namespace.
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Namespace must match the root namespace of the project.
In many cases, the value of Namespace is the same as the name of the library that you are wrapping.
See How to: Compile Example Code for Project Model Extensibility for information about how to compile and run this example.
' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a ' Visual C++ project loaded before running this example. Imports EnvDTE Imports Microsoft.VisualStudio.VCProjectEngine Public Module Module1 Sub Test() Dim prj As VCProject Dim cfgs, tools As IVCCollection Dim cfg As VCConfiguration Dim tool As VCManagedWrapperGeneratorTool prj = DTE.Solution.Projects.Item(1).Object cfgs = prj.Configurations cfg = cfgs.Item(1) tool = cfg.Tools("VCManagedWrapperGeneratorTool") MsgBox("Current namespace : " & _ tool.Namespace) End Sub End Module
Show: