EntityInstanceEnumeratorBase.Current Property

NOTE: This API is now obsolete.

When overridden in a derived class, returns the value of the current entity instance in the enumerator. 

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public Overridable ReadOnly Property Current As IEntityInstance
    Get
'Usage
Dim instance As EntityInstanceEnumeratorBase
Dim value As IEntityInstance

value = instance.Current
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public virtual IEntityInstance Current { get; }

Property Value

Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.IEntityInstance
The IEntityInstance object representing the current entity instance.

Implements

IEnumerator<T>.Current

See Also

Reference

EntityInstanceEnumeratorBase Class

EntityInstanceEnumeratorBase Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace