Parameter.CreateDefaultInstance 方法 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Creates an instance of this parameter with the default value associated with the specified method instance using the TypeReflector associated with the Parameter.

命名空间: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Public Function CreateDefaultInstance ( _
    forMethodInstance As MethodInstance _
) As Object
用法
Dim instance As Parameter
Dim forMethodInstance As MethodInstance
Dim returnValue As Object

returnValue = instance.CreateDefaultInstance(forMethodInstance)
public Object CreateDefaultInstance (
    MethodInstance forMethodInstance
)

参数

返回值

An object representing the parameter instance.

另请参阅

参考

Parameter 类
Parameter 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间