Udostępnij za pośrednictwem


ComplexBindingPropertiesAttribute Constructor (String, String)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Initializes a new instance of the ComplexBindingPropertiesAttribute class using the specified data source and data member.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

Syntax

'Declaration
Public Sub New ( _
    dataSource As String, _
    dataMember As String _
)
public ComplexBindingPropertiesAttribute(
    string dataSource,
    string dataMember
)

Parameters

  • dataSource
    Type: System.String
    The name of the property to be used as the data source.
  • dataMember
    Type: System.String
    The name of the property to be used as the source for data.

Remarks

This constructor sets the DataSource property to dataSource and the DataMember property to dataMember.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.