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: System.StringA string that contains the namespace for the reference group.
pszName
Type: System.StringA 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.