SfcMetadataRelation.ResolveCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ResolveCollection(Object) |
Helper method to resolve reference collections. If the metadata relation is a reference collection relationship, it will enumerate the target collection instances. If the metadata relation is a simple property value, it will enumerate the value itself. |
ResolveCollection<T,S>(S) |
Helper method to resolve reference collections.
It yields strongly-typed instances.
Any enumerated values which are not compatible as type |
ResolveCollection(Object)
Helper method to resolve reference collections. If the metadata relation is a reference collection relationship, it will enumerate the target collection instances. If the metadata relation is a simple property value, it will enumerate the value itself.
public System.Collections.IEnumerable ResolveCollection (object instance);
member this.ResolveCollection : obj -> System.Collections.IEnumerable
Public Function ResolveCollection (instance As Object) As IEnumerable
Parameters
- instance
- Object
The source instance to resolve for.
Returns
The target instance enumeration.
Applies to
ResolveCollection<T,S>(S)
Helper method to resolve reference collections.
It yields strongly-typed instances.
Any enumerated values which are not compatible as type T
are skipped over.
public System.Collections.Generic.IEnumerable<T> ResolveCollection<T,S> (S instance);
member this.ResolveCollection : 'S -> seq<'T>
Public Function ResolveCollection(Of T, S) (instance As S) As IEnumerable(Of T)
Type Parameters
- T
The type of the target enumeration.
- S
The type of the source instance.
Parameters
- instance
- S
The source instance to resolve for.
Returns
The target values enumeration.