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
- forMethodInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstance
The MethodInstance object.
Return Value
Type: System.Object
An object representing the parameter instance.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace