ProjectCreationMacroResolver.TryGetReplacement Method
Gets an individual macro replacement value.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function TryGetReplacement ( _
macro As String, _
<OutAttribute> ByRef replacement As String _
) As Boolean
public bool TryGetReplacement(
string macro,
out string replacement
)
public:
bool TryGetReplacement(
String^ macro,
[OutAttribute] String^% replacement
)
member TryGetReplacement :
macro:string *
replacement:string byref -> bool
public function TryGetReplacement(
macro : String,
replacement : String
) : boolean
Parameters
macro
Type: System.StringThe input string.
replacement
Type: System.String%The resolved string together with valid macros.
Return Value
Type: System.Boolean
True if the input string was resolved; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.