VCWebServiceProxyGeneratorTool.GeneratedProxyLanguage 속성

웹 프록시를 생성할 때 사용할 언어를 가져오거나 설정합니다.

네임스페이스:  Microsoft.VisualStudio.VCProjectEngine
어셈블리:  Microsoft.VisualStudio.VCProjectEngine(Microsoft.VisualStudio.VCProjectEngine.dll)

구문

‘선언
Property GeneratedProxyLanguage As genProxyLanguage
genProxyLanguage GeneratedProxyLanguage { get; set; }
property genProxyLanguage GeneratedProxyLanguage {
    genProxyLanguage get ();
    void set (genProxyLanguage value);
}
abstract GeneratedProxyLanguage : genProxyLanguage with get, set
function get GeneratedProxyLanguage () : genProxyLanguage 
function set GeneratedProxyLanguage (value : genProxyLanguage)

속성 값

형식: Microsoft.VisualStudio.VCProjectEngine.genProxyLanguage
genProxyLanguage 열거형입니다.

설명

사용 하 여 genProxyLanguage 이 속성의 값을 수정할 수 있습니다.

예제

참고 방법: 프로젝트 모델 확장성에 대한 예제 코드 컴파일 컴파일 및이 예제를 실행 하는 방법에 대 한 내용은.

다음 예제에서는 수정 된 GeneratedProxyLanguage 통합된 개발 환경 (IDE)에서 속성:

' 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_
          ("https://localhost /webservice1/webservice1.vsdisco")
        MsgBox(file.Name)
        cfgs = file.FileConfigurations
        MsgBox(cfgs.Count)
        cfg = cfgs.Item(1)
        MsgBox(cfg.Name)
        tool = cfg.Tool
        MsgBox(tool.GeneratedProxyLanguage)
    End Sub
End Module

.NET Framework 보안

참고 항목

참조

VCWebServiceProxyGeneratorTool 인터페이스

Microsoft.VisualStudio.VCProjectEngine 네임스페이스