TypeDescriptor.SetDefaultValue Method
NOTE: This API is now obsolete.
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
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public void SetDefaultValue(
uint methodInstanceId,
Object defaultValue
)
Parameters
methodInstanceId
Type: System.UInt32The ID of the method instance.
defaultValue
Type: System.ObjectAn object containing the default value.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace