Share via


IReferenceProperty(T) Interface

Subclass of ModelProperty that describes property meta data for a property that represents a reference by name to another model object.

Namespace:  Microsoft.Data.Tools.Model
Assembly:  Microsoft.Data.Tools.Model (in Microsoft.Data.Tools.Model.dll)

Syntax

'Declaration
Public Interface IReferenceProperty(Of T As IReferenceableModelObject) _
    Inherits IReferenceProperty, IModelProperty, IModelObject
'Usage
Dim instance As IReferenceProperty(Of T)
public interface IReferenceProperty<T> : IReferenceProperty, 
    IModelProperty, IModelObject
where T : IReferenceableModelObject
generic<typename T>
where T : IReferenceableModelObject
public interface class IReferenceProperty : IReferenceProperty, 
    IModelProperty, IModelObject
type IReferenceProperty<'T when 'T : IReferenceableModelObject> =  
    interface
        interface IReferenceProperty
        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 IReferenceProperty<(Of <(<'T>)>)> type exposes the following members.

Properties

  Name Description
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 DuplicateObjects Gets {insert text here}. (Inherited from IReferenceProperty.)
Public property Duplicates Gets {insert text here}.
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 ReferenceIdentifier Gets or sets {insert text here}. (Inherited from IReferenceProperty.)
Public property Status Gets {insert text here}. (Inherited from IReferenceProperty.)
Public property Target Gets {insert text here}.
Public property TargetObject Gets {insert text here}. (Inherited from IReferenceProperty.)

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.)

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