This documentation is archived and is not being maintained.

ProjectCreationMacroResolver::TryGetReplacement Method

Gets an individual macro replacement value.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

public:
bool TryGetReplacement(
	String^ macro, 
	[OutAttribute] String^% replacement
)

Parameters

macro
Type: System::String

The 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.

Show: