Share via


TypeDescriptor.SetDefaultValue method

Sets the default value.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub SetDefaultValue ( _
    methodInstanceId As UInteger, _
    defaultValue As Object _
)
'Usage
Dim instance As TypeDescriptor
Dim methodInstanceId As UInteger
Dim defaultValue As Object

instance.SetDefaultValue(methodInstanceId, _
    defaultValue)
public void SetDefaultValue(
    uint methodInstanceId,
    Object defaultValue
)

Parameters

  • methodInstanceId
    Type: System.UInt32

    The identifier (ID) of the MethodInstance object.

See also

Reference

TypeDescriptor class

TypeDescriptor members

Microsoft.SharePoint.BusinessData.Administration namespace