다음을 통해 공유


IVsWCFReferenceGroupCollection.Add(String, String) Method

Definition

Adds a Windows Communication Foundation (WCF) reference group to the collection.

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

Parameters

pszNamespace
String

A string that contains the namespace for the reference group.

pszName
String

A string that contains the name of the reference group.

Returns

A WCF reference group.

Remarks

If the VSHPROPID_ServiceReferenceSupported property of the project is false or the property is not supported, this method fails.

Applies to