TypeDescriptor.GetDefaultValue 方法 (Microsoft.Office.Server.ApplicationRegistry.Administration)

Gets the default value for this type descriptor given the method instance ID.

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

语法

声明
Public Function GetDefaultValue ( _
    methodInstanceId As UInteger _
) As Object
用法
Dim instance As TypeDescriptor
Dim methodInstanceId As UInteger
Dim returnValue As Object

returnValue = instance.GetDefaultValue(methodInstanceId)
public Object GetDefaultValue (
    uint methodInstanceId
)

参数

  • methodInstanceId
    The ID of the method instance.

返回值

An object representing the default value.

另请参阅

参考

TypeDescriptor 类
TypeDescriptor 成员
Microsoft.Office.Server.ApplicationRegistry.Administration 命名空间