IVsWCFReferenceGroup.DeleteReference Method
Deletes a Windows Communication Foundation (WCF) service reference from a reference group.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Declaration
Sub DeleteReference ( _
index As Integer _
)
void DeleteReference(
int index
)
void DeleteReference(
[InAttribute] int index
)
abstract DeleteReference :
index:int -> unit
function DeleteReference(
index : int
)
Parameters
- index
Type: System.Int32
An Integer representing the index of the reference to delete.
Remarks
When the VSHPROPID_ServiceReferenceSupported property of the client project is false or the property is not supported, the 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.