Partager via


IVsWCFReferenceGroupOptions.SetReferencedAssemblies Method

Sets a list of referenced assemblies in a Windows Communication Foundation (WCF) service reference.

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

Syntax

'Declaration
Sub SetReferencedAssemblies ( _
    cItems As Integer, _
    lpstrReferencedAssemblies As String() _
)
void SetReferencedAssemblies(
    int cItems,
    string[] lpstrReferencedAssemblies
)
void SetReferencedAssemblies(
    [InAttribute] int cItems, 
    [InAttribute] array<String^>^ lpstrReferencedAssemblies
)
abstract SetReferencedAssemblies : 
        cItems:int * 
        lpstrReferencedAssemblies:string[] -> unit
function SetReferencedAssemblies(
    cItems : int, 
    lpstrReferencedAssemblies : String[]
)

Parameters

  • cItems
    Type: System.Int32

    An Integer that represents the number of assemblies.

  • lpstrReferencedAssemblies
    Type: array<System.String[]

    A String that contains the assembly names.

Remarks

The values set by SetReferencedAssemblies determine what is displayed in the Reuse types in specified referenced assemblies list in the Configure Service Reference dialog box.

.NET Framework Security

See Also

Reference

IVsWCFReferenceGroupOptions Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace