Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets a value that determines whether type sharing is enabled for all 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 SetReferenceAllAssemblies ( _
    bReferenceAllAssemblies As Integer _
)
void SetReferenceAllAssemblies(
    int bReferenceAllAssemblies
)
void SetReferenceAllAssemblies(
    [InAttribute] int bReferenceAllAssemblies
)
abstract SetReferenceAllAssemblies : 
        bReferenceAllAssemblies:int -> unit
function SetReferenceAllAssemblies(
    bReferenceAllAssemblies : int
)
Parameters
- bReferenceAllAssemblies 
 Type: System.Int32- Any non-zero Integer to reference all assemblies; otherwise 0. 
Remarks
The value set by SetReferenceAllAssemblies determines whether the Reuse types in all referenced assemblies option is checked 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.