NamedMethodInstanceDictionary.Item Property
NOTE: This API is now obsolete.
Sets or returns the value of an item in the Dictionary object.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Public Default Property Item ( _
methodInstanceName As String _
) As MethodInstance
Get
Set
'Usage
Dim instance As NamedMethodInstanceDictionary
Dim methodInstanceName As String
Dim value As MethodInstance
value = instance(methodInstanceName)
instance(methodInstanceName) = value
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public MethodInstance this[
string methodInstanceName
] { get; set; }
Parameters
methodInstanceName
Type: System.StringThe name of the MethodInstance object.
Property Value
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstance
The name of the MethodInstance object.
See Also
Reference
NamedMethodInstanceDictionary Class
NamedMethodInstanceDictionary Members
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace