Parameter.CreateDefaultInstance Method
NOTE: This API is now obsolete.
Creates an instance of this parameter with the default value associated with the specified method instance using the TypeReflector associated with the Parameter.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Public Function CreateDefaultInstance ( _
forMethodInstance As MethodInstance _
) As Object
'Usage
Dim instance As Parameter
Dim forMethodInstance As MethodInstance
Dim returnValue As Object
returnValue = instance.CreateDefaultInstance(forMethodInstance)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public Object CreateDefaultInstance(
MethodInstance forMethodInstance
)
Parameters
forMethodInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstanceThe MethodInstance object.
Return Value
Type: System.Object
An object representing the parameter instance.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace