Aracılığıyla paylaş


VCWebServiceProxyGeneratorTool.URL Özellik

Alır veya ayarlar kullanıcı belirttiğinde kullanılan url Update Web baþvurusu komut.

Ad alanı:  Microsoft.VisualStudio.VCProjectEngine
Derleme:  Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll içinde)

Sözdizimi

'Bildirim
Property URL As String
string URL { get; set; }
property String^ URL {
    String^ get ();
    void set (String^ value);
}
abstract URL : string with get, set
function get URL () : String
function set URL (value : String)

Özellik Değeri

Tür: System.String
Bir kullanıcının Update Web Reference komutunu belirttiğinde kullanılan url.

Örnekler

Bkz: Nasıl yapılır: proje modeli genişletilebilirlik amacıyla örnek kodu derleyin derlemek ve bu örnek çalıştırma hakkında bilgi için.

Aşağıdaki örnek değiştirir URL tümleşik geliştirme ortamını (IDE) özelliği:

' 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.URL)
    End Sub
End Module

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

VCWebServiceProxyGeneratorTool Arabirim

Microsoft.VisualStudio.VCProjectEngine Ad Alanı