IVsWCFReferenceGroupOptions.SetExcludedTypes Method
Sets a list of types that are excluded from type sharing 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 SetExcludedTypes ( _
cItems As Integer, _
lpstrExcludedTypes As String() _
)
void SetExcludedTypes(
int cItems,
string[] lpstrExcludedTypes
)
void SetExcludedTypes(
[InAttribute] int cItems,
[InAttribute] array<String^>^ lpstrExcludedTypes
)
abstract SetExcludedTypes :
cItems:int *
lpstrExcludedTypes:string[] -> unit
function SetExcludedTypes(
cItems : int,
lpstrExcludedTypes : String[]
)
Parameters
- cItems
Type: System.Int32
An Integer that represents the number of types.
- lpstrExcludedTypes
Type: array<System.String[]
A String that contains the excluded types.
Remarks
The values set by SetExcludedTypes determine which types are checked 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.