ICollectionProperty(T) Interface

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

Syntax

'Declaration
Public Interface ICollectionProperty(Of T As IModelElement) _
    Inherits IModelProperty, IModelObject, ICollection(Of T),  _
    IEnumerable(Of T), IEnumerable
'Usage
Dim instance As ICollectionProperty(Of T)
public interface ICollectionProperty<T> : IModelProperty, 
    IModelObject, ICollection<T>, IEnumerable<T>, IEnumerable
where T : IModelElement
generic<typename T>
where T : IModelElement
public interface class ICollectionProperty : IModelProperty, 
    IModelObject, ICollection<T>, IEnumerable<T>, IEnumerable
type ICollectionProperty<'T when 'T : IModelElement> =  
    interface
        interface IModelProperty
        interface IModelObject
        interface ICollection<'T>
        interface IEnumerable<'T>
        interface IEnumerable
    end
JScript does not support generic types and methods.

Type Parameters

  • T

The ICollectionProperty<(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 Count (Inherited from ICollection< (Of < ( <'T> ) > ) >.)
Public property IsNotPresent Indicates that no value was supplied, and thus the Value is the default value. (Inherited from IModelProperty.)
Public property IsReadOnly (Inherited from ICollection< (Of < ( <'T> ) > ) >.)
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.)

Top

Methods

  Name Description
Public method Add (Inherited from ICollection< (Of < ( <'T> ) > ) >.)
Public method Clear (Inherited from ICollection< (Of < ( <'T> ) > ) >.)
Public method Contains (Inherited from ICollection< (Of < ( <'T> ) > ) >.)
Public method CopyTo (Inherited from ICollection< (Of < ( <'T> ) > ) >.)
Public method CreateScript (Inherited from IModelObject.)
Public method GetEnumerator() () () () (Inherited from IEnumerable< (Of < ( <'T> ) > ) >.)
Public method GetEnumerator() () () () (Inherited from IEnumerable.)
Public method Remove (Inherited from ICollection< (Of < ( <'T> ) > ) >.)
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