Condividi tramite


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

'Dichiarazione
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: Int32
    An Integer that represents the number of types.
  • lpstrExcludedTypes
    Type: array<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

See Also

Reference

IVsWCFReferenceGroupOptions Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace