TypeDescriptor.SetDefaultValue Method
Sets a default value for this type descriptor for a method instance.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.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 ID of the method instance.
- defaultValue
Type: System.Object
An object containing the default value.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace