Method.CreateDefaultParameterInstances Method
Creates parameters with default values for the specified method instance.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function CreateDefaultParameterInstances ( _
forMethodInstance As MethodInstance _
) As Object()
'Usage
Dim instance As Method
Dim forMethodInstance As MethodInstance
Dim returnValue As Object()
returnValue = instance.CreateDefaultParameterInstances(forMethodInstance)
public Object[] CreateDefaultParameterInstances(
MethodInstance forMethodInstance
)
Parameters
- forMethodInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstance
The MethodInstance object.
Return Value
Type: []
An object array containing parameters.
Remarks
A different MethodInstance can yield completely different parameters for the same Method.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace