IVsWCFReferenceGroupCollection.Add(String, String) Yöntem

Tanım

Koleksiyona bir Windows Communication Foundation (WCF) başvuru grubu ekler.

public:
 Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceGroup ^ Add(System::String ^ pszNamespace, System::String ^ pszName);
public:
 Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceGroup ^ Add(Platform::String ^ pszNamespace, Platform::String ^ pszName);
Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceGroup Add(std::wstring const & pszNamespace, std::wstring const & pszName);
public Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceGroup Add (string pszNamespace, string pszName);
abstract member Add : string * string -> Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceGroup
Public Function Add (pszNamespace As String, pszName As String) As IVsWCFReferenceGroup

Parametreler

pszNamespace
String

Başvuru grubu için ad alanını içeren bir dize.

pszName
String

Başvuru grubunun adını içeren bir dize.

Döndürülenler

IVsWCFReferenceGroup

Bir WCF başvuru grubu.

Açıklamalar

VSHPROPID_ServiceReferenceSupportedProjenin özelliği false ise veya özellik desteklenmiyorsa, bu yöntem başarısız olur.

Şunlara uygulanır