IncludeAttribute Constructor (String, String)

[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.]

Initializes a new instance of the IncludeAttribute class with the specified member projection.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)


Public Sub New ( _
    path As String, _
    memberName As String _
Dim path As String
Dim memberName As String

Dim instance As New IncludeAttribute(path, memberName)
public IncludeAttribute(
    string path,
    string memberName
    String^ path, 
    String^ memberName
new : 
        path:string * 
        memberName:string -> IncludeAttribute
public function IncludeAttribute(
    path : String, 
    memberName : String


  • path
    Type: System.String
    A dotted path that specifies the navigation path from the member this attribute is applied to, to the member to be projected. The projected member must be a scalar.
  • memberName
    Type: System.String
    The member name that will be code generated for the projected member.

See Also


IncludeAttribute Class

IncludeAttribute Overload

System.ServiceModel.DomainServices.Server Namespace