IValueProperty(T) Interface
Subclass of ModelProperty that describes property meta data for a property that represents a value (i.e. something with cardinality 1 such as Name).
Namespace: Microsoft.Data.Tools.Model
Assembly: Microsoft.Data.Tools.Model (in Microsoft.Data.Tools.Model.dll)
Syntax
'Declaration
Public Interface IValueProperty(Of T) _
Inherits IValueProperty, IModelProperty, IModelObject
'Usage
Dim instance As IValueProperty(Of T)
public interface IValueProperty<T> : IValueProperty,
IModelProperty, IModelObject
generic<typename T>
public interface class IValueProperty : IValueProperty,
IModelProperty, IModelObject
type IValueProperty<'T> =
interface
interface IValueProperty
interface IModelProperty
interface IModelObject
end
JScript does not support generic types and methods.
Type Parameters
- T
The type of the value backing the property
The IValueProperty<(Of <(<'T>)>)> type exposes the following members.
Properties
Name | Description | |
---|---|---|
ActualValue | Returns the actual value contained in the source. If this.IsNotPresent == true, then this will return null. (Inherited from IValueProperty.) | |
ChildNodes | Returns the contained model objects of this model object that are immediate children of it, i.e. they are values of one of this object's properties. (Inherited from IModelObject.) | |
DefaultValue | The default value for this property. | |
IsNotPresent | Indicates that no value was supplied, and thus the Value is the default value. (Inherited from IModelProperty.) | |
IsReadOnly | Gets or sets {insert text here}. (Inherited from IModelProperty.) | |
IsRequired | Indicates if this value is required, or if a valid default value will be used. (Inherited from IModelProperty.) | |
Model | Gets {insert text here}. (Inherited from IModelObject.) | |
ParentNode | Returns the parent model object that contains this node (null for the root of the model object tree) (Inherited from IModelObject.) | |
PropertyName | Gets {insert text here}. (Inherited from IModelProperty.) | |
Value | Gets or sets {insert text here}. |
Top
Methods
Name | Description | |
---|---|---|
CreateScript | (Inherited from IModelObject.) | |
SetToNotPresent | Removes the value from the underlying source. Afterwords, this.Value == this.DefaultValue. (Inherited from IModelProperty.) | |
TryGetValue |
Top
Extension Methods
Name | Description | |
---|---|---|
AddAnnotation | (Defined by ModelExtensions.) | |
GetAncestor< (Of < <' (T> ) > > ) | (Defined by ModelExtensions.) | |
TryGetAnnotation | (Defined by ModelExtensions.) |
Top