IDiscoveryResult.AddWebReference(Object, String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
En son bulma oturumu tarafından önbelleğe alınan dosyaları indirmek için bu yöntemi çağırın.
public:
int AddWebReference(System::Object ^ punkWebReferenceFolder, System::String ^ bstrDestinationPath);
public:
int AddWebReference(Platform::Object ^ punkWebReferenceFolder, Platform::String ^ bstrDestinationPath);
int AddWebReference(winrt::Windows::Foundation::IInspectable const & punkWebReferenceFolder, std::wstring const & bstrDestinationPath);
public int AddWebReference (object punkWebReferenceFolder, string bstrDestinationPath);
abstract member AddWebReference : obj * string -> int
Public Function AddWebReference (punkWebReferenceFolder As Object, bstrDestinationPath As String) As Integer
Parametreler
- punkWebReferenceFolder
- Object
'ndaki Proje Otomasyonu öğesinin başvuru klasörünü belirtir.
- bstrDestinationPath
- String
'ndaki Dosyaların depolanacağı klasörün hedef yolunu içeren dize.
Döndürülenler
Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.
Açıklamalar
COM Imzası
DiscoveryService. IDL dosyasından:
HRESULT IDiscoveryResult::AddWebReference(
[in] IUnknown* punkWebReferenceFolder,
[in] BSTR bstrDestinationPath
);