Share via


IVsWCFReferenceGroupCollection.GetReferenceGroupByName Method

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

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

Syntax

'Declaration
Function GetReferenceGroupByName ( _
    pszNamespace As String, _
    pszName As String _
) As IVsWCFReferenceGroup
IVsWCFReferenceGroup GetReferenceGroupByName(
    string pszNamespace,
    string pszName
)
IVsWCFReferenceGroup^ GetReferenceGroupByName(
    [InAttribute] String^ pszNamespace, 
    [InAttribute] String^ pszName
)
abstract GetReferenceGroupByName : 
        pszNamespace:string * 
        pszName:string -> IVsWCFReferenceGroup
function GetReferenceGroupByName(
    pszNamespace : String, 
    pszName : String
) : IVsWCFReferenceGroup

Parameters

  • pszNamespace
    Type: String

    A string that contains the namespace for the reference group.

  • pszName
    Type: String

    A string that contains the name of the reference group.

Return Value

Type: Microsoft.VisualStudio.WCFReference.Interop.IVsWCFReferenceGroup
A WCF reference group.

Remarks

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

.NET Framework Security

See Also

Reference

IVsWCFReferenceGroupCollection Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace