DataSource Class

Definition

Represents the location and grouping for a BaseProperty.

public ref class DataSource sealed : System::ComponentModel::ISupportInitialize
public sealed class DataSource : System.ComponentModel.ISupportInitialize
type DataSource = class
    interface ISupportInitialize
Public NotInheritable Class DataSource
Implements ISupportInitialize
Inheritance
DataSource
Implements

Remarks

If you manually instantiate this class, call BeginInit before you set the first property of the object and EndInit after you set the last property.

Constructors

DataSource()

Parameterless constructor. Required for correct XAML deserialization.

Properties

HasConfigurationCondition

Gets or sets a flag that determines whether a property is configuration-dependent, as indicated by the presence of a configuration condition that is attached to the property definition at its persistence location.

ItemType

Gets or sets the item type of the data source.

Label

Gets or sets the label of the MSBuild property group/item definition group to which a property/item definition metadata belongs.

MSBuildTarget

Gets or sets the semicolon-delimited list of MSBuild targets that must be executed before reading the read-only properties or items of this data source.

PersistedName

Gets or sets the actual MSBuild property name used to read/write the value of this property.

Persistence

Gets or sets the storage location for this data source.

SourceOfDefaultValue

Gets or sets the value of a DefaultValueSourceLocation which indicates the location of the default value for this data source.

SourceType

Gets or sets the data type of the source, which governs how the data is treated during build.

Methods

BeginInit()

See BeginInit().

EndInit()

See EndInit().

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to