Share via


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
Public property ActualValue Returns the actual value contained in the source. If this.IsNotPresent == true, then this will return null. (Inherited from IValueProperty.)
Public property 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.)
Public property DefaultValue The default value for this property.
Public property IsNotPresent Indicates that no value was supplied, and thus the Value is the default value. (Inherited from IModelProperty.)
Public property IsReadOnly Gets or sets {insert text here}. (Inherited from IModelProperty.)
Public property IsRequired Indicates if this value is required, or if a valid default value will be used. (Inherited from IModelProperty.)
Public property Model Gets {insert text here}. (Inherited from IModelObject.)
Public property ParentNode Returns the parent model object that contains this node (null for the root of the model object tree) (Inherited from IModelObject.)
Public property PropertyName Gets {insert text here}. (Inherited from IModelProperty.)
Public property Value Gets or sets {insert text here}.

Top

Methods

  Name Description
Public method CreateScript (Inherited from IModelObject.)
Public method SetToNotPresent Removes the value from the underlying source. Afterwords, this.Value == this.DefaultValue. (Inherited from IModelProperty.)
Public method TryGetValue

Top

Extension Methods

  Name Description
Public Extension Method AddAnnotation (Defined by ModelExtensions.)
Public Extension Method GetAncestor< (Of < <' (T> ) > > ) (Defined by ModelExtensions.)
Public Extension Method TryGetAnnotation (Defined by ModelExtensions.)

Top

See Also

Reference

Microsoft.Data.Tools.Model Namespace