This documentation is archived and is not being maintained.

GeneratedProxyLanguage Property

Visual Studio .NET 2003

Specifies the language to use when generating the web proxy.

[Visual Basic .NET]
Public Property GeneratedProxyLanguage() As genProxyLanguage
[Visual Basic 6]
Property Get GeneratedProxyLanguage() As genProxyLanguage
Property Let GeneratedProxyLanguage( _
   ByVal NewValue As genProxyLanguage _
HRESULT __stdcall get_GeneratedProxyLanguage(
   /* [out, retval] */ genProxyLanguage* retVal
HRESULT __stdcall put_GeneratedProxyLanguage(
   /* [in] */ genProxyLanguage NewValue
public genProxyLanguage GeneratedProxyLanguage {get; set;}
[JScript .NET]
public function get GeneratedProxyLanguage() : genProxyLanguage
public function set GeneratedProxyLanguage(
   NewValue : genProxyLanguage


Use genProxyLanguage to modify the value of this property.


The following sample code modifies the GeneratedProxyLanguage property in the development environment:

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs As IVCCollection
        Dim cfg As VCFileConfiguration
        Dim file As VCFile
        Dim tool As VCWebServiceProxyGeneratorTool
        prj = DTE.Solution.Projects.Item(1).Object
        file = prj.AddWebReference_
          ("http://localhost /webservice1/webservice1.vsdisco")
        cfgs = file.FileConfigurations
        cfg = cfgs.Item(1)
        tool = cfg.Tool
    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCWebServiceProxyGeneratorTool Object