共用方式為


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