Share via


Parameter.CreateDefaultInstance Method

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
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)
public Object CreateDefaultInstance(
    MethodInstance forMethodInstance
)

Parameters

Return Value

Type: System.Object
An object representing the parameter instance.

See Also

Reference

Parameter Class

Parameter Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace