AbstractInstance.Item Property (String)

NOTE: This API is now obsolete.

When overridden in a derived class, gets the value of the field specified by the name on the native adapter object wrapped by this IEntityInstance object.

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 Default Property Item ( _
    fieldName As String _
) As Object
    Get
'Usage
Dim instance As AbstractInstance
Dim fieldName As String
Dim value As Object

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

Parameters

  • fieldName
    Type: System.String

    The name of a Field object in the entity instance.

Property Value

Type: System.Object
An object representing the value of the specified field.

Implements

IInstance.Item[String]

See Also

Reference

AbstractInstance Class

AbstractInstance Members

Item Overload

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace