共用方式為


TeamFoundationStrongBoxService.GetString 方法

從範例屜擷取值做為字串。 這個方法會傳回字串做為 https 回應的一部分從伺服器。

命名空間:  Microsoft.TeamFoundation.Framework.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Public Function GetString ( _
    drawerId As Guid, _
    lookupKey As String _
) As String
public string GetString(
    Guid drawerId,
    string lookupKey
)

參數

  • drawerId
    型別:System.Guid
    唯一識別項。CreateDrawer 或 UnlockDrawer 傳回。
  • lookupKey
    型別:System.String
    用來搜尋在這個範例屜值的識別項。

傳回值

型別:System.String

.NET Framework 安全性

請參閱

參考

TeamFoundationStrongBoxService 類別

Microsoft.TeamFoundation.Framework.Client 命名空間