StringUtil.ReplaceTokens 方法 (String, String, String, IDictionary<String, String>, Boolean%)
命名空间: Microsoft.TeamFoundation.Common.Internal
程序集: Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)
语法
声明
Public Shared Function ReplaceTokens ( _
text As String, _
tokenPrefix As String, _
tokenSuffix As String, _
tokens As IDictionary(Of String, String), _
<OutAttribute> ByRef replacedAll As Boolean _
) As String
public static string ReplaceTokens(
string text,
string tokenPrefix,
string tokenSuffix,
IDictionary<string, string> tokens,
out bool replacedAll
)
参数
- text
类型:System.String
- tokenPrefix
类型:System.String
- tokenSuffix
类型:System.String
- tokens
类型:System.Collections.Generic.IDictionary<String, String>
- replacedAll
类型:System.Boolean%
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。