Share via


IVsWCFReferenceGroup.SetReferenceUrl(Int32, String) Method

Definition

Sets URL from which metadata for a Windows Communication Foundation (WCF) service reference is downloaded.

public:
 void SetReferenceUrl(int index, System::String ^ pszReferenceUrl);
public:
 void SetReferenceUrl(int index, Platform::String ^ pszReferenceUrl);
void SetReferenceUrl(int index, std::wstring const & pszReferenceUrl);
public void SetReferenceUrl (int index, string pszReferenceUrl);
abstract member SetReferenceUrl : int * string -> unit
Public Sub SetReferenceUrl (index As Integer, pszReferenceUrl As String)

Parameters

index
Int32

An Integer that contains the index of the service reference.

pszReferenceUrl
String

A string that contains the URL.

Remarks

When the VSHPROPID_ServiceReferenceSupported property of the client project is false or the property is not supported, the method fails.

Applies to