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
'宣言
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: Int32
An Integer that represents the number of assemblies.
- lpstrReferencedAssemblies
Type: array<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
- 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.