Share via


CodeMemberShareKind Enumeration

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

An enumeration that specifies how code elements can be shared between the client and the server projects.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.ServiceModel.DomainServices.Tools
Assembly:  Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration CodeMemberShareKind
'Usage
Dim instance As CodeMemberShareKind
[FlagsAttribute]
public enum CodeMemberShareKind
[FlagsAttribute]
public enum class CodeMemberShareKind
[<FlagsAttribute>]
type CodeMemberShareKind
public enum CodeMemberShareKind

Members

Member name Description
Unknown Specifies that there is insufficient information available to determine whether the code element is shared between projects or not.
NotShared Specifies that the code element is not shared between the projects.
SharedBySource Specifies that the code element is shared between the projects through common source files.
SharedByReference Specifies that the code element is shared between the projects through the equivalent types in assemblies referenced by both projects.
Shared Specifies that the code element is shared between the projects.

Remarks

Shared code elements are those that are visible to both projects, either though shared source files or through assemblies referenced by both projects.

See Also

Reference

Microsoft.ServiceModel.DomainServices.Tools Namespace