IVsWCFReferenceGroupCollection.Add Method
Adds a Windows Communication Foundation (WCF) reference group to the collection.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'宣言
Function Add ( _
pszNamespace As String, _
pszName As String _
) As IVsWCFReferenceGroup
IVsWCFReferenceGroup Add(
string pszNamespace,
string pszName
)
IVsWCFReferenceGroup^ Add(
[InAttribute] String^ pszNamespace,
[InAttribute] String^ pszName
)
abstract Add :
pszNamespace:string *
pszName:string -> IVsWCFReferenceGroup
function Add(
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
If the VSHPROPID_ServiceReferenceSupported property of the project is false or the property is not supported, this method fails.
.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.