TypeDescriptor.GetDefaultValue Method

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
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)
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