다음을 통해 공유


IVsWCFReferenceGroupCollection.GetReferenceGroupByName(String, String) Method

Definition

Returns a specified Windows Communication Foundation (WCF) reference group in the collection.

public:
 Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceGroup ^ GetReferenceGroupByName(System::String ^ pszNamespace, System::String ^ pszName);
public:
 Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceGroup ^ GetReferenceGroupByName(Platform::String ^ pszNamespace, Platform::String ^ pszName);
Microsoft::VisualStudio::WCFReference::Interop::IVsWCFReferenceGroup GetReferenceGroupByName(std::wstring const & pszNamespace, std::wstring const & pszName);
public Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceGroup GetReferenceGroupByName (string pszNamespace, string pszName);
abstract member GetReferenceGroupByName : string * string -> Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceGroup
Public Function GetReferenceGroupByName (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

A reference group can also be returned by referencing the .svcmap file (GetReferenceGroupFromMapFile) or the item (Item).

Applies to