TypeDescriptor.GetDefaultValue Method

NOTE: This API is now obsolete.

Gets the default value for this type descriptor given the method instance ID.

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

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public Function GetDefaultValue ( _
    methodInstanceId As UInteger _
) As Object
'Usage
Dim instance As TypeDescriptor
Dim methodInstanceId As UInteger
Dim returnValue As Object

returnValue = instance.GetDefaultValue(methodInstanceId)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public Object GetDefaultValue(
    uint methodInstanceId
)

Parameters

  • methodInstanceId
    Type: System.UInt32

    The ID of the method instance.

Return Value

Type: System.Object
An object representing the default value.

See Also

Reference

TypeDescriptor Class

TypeDescriptor Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace