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.UInt32The identifier (ID) of the MethodInstance object.
defaultValue
Type: System.ObjectThe default value object.