TeamFoundationBaseRegistryService.GetValue 方法 (TeamFoundationRequestContext, String, Boolean, String)

GetValue将返回指定路径的值作为字符串。

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Overridable Function GetValue ( _
    requestContext As TeamFoundationRequestContext, _
    path As String, _
    fallThru As Boolean, _
    defaultValue As String _
) As String
public virtual string GetValue(
    TeamFoundationRequestContext requestContext,
    string path,
    bool fallThru,
    string defaultValue
)

参数

  • fallThru
    类型:System.Boolean
    如果没有找到该值,并且一个贯穿的可用读取它的项从此处。
  • defaultValue
    类型:System.String
    如果注册表值不存在则返回默认值。

返回值

类型:System.String
指定的位置的注册表值

.NET Framework 安全性

请参见

参考

TeamFoundationBaseRegistryService 类

GetValue 重载

Microsoft.TeamFoundation.Framework.Server 命名空间