IVsWCFReferenceGroup::SetReferenceUrl Method (Int32, String^)

 

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

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

void SetReferenceUrl(
	int index,
	String^ pszReferenceUrl
)

Parameters

index
Type: System::Int32

An Integer that contains the index of the service reference.

pszReferenceUrl
Type: System::String^

A string that contains the URL.

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

Return to top
Show: