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)


Public Function GetDefaultValue ( _
    methodInstanceId As UInteger _
) As Object
Dim instance As TypeDescriptor
Dim methodInstanceId As UInteger
Dim returnValue As Object

returnValue = instance.GetDefaultValue(methodInstanceId)
public Object GetDefaultValue(
    uint methodInstanceId


  • methodInstanceId
    Type: System.UInt32
    The ID of the method instance.

Return Value

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

See Also


TypeDescriptor Class

TypeDescriptor Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace