BuildProperty.Explicit(BuildProperty to String) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a BuildProperty to a String
.
public:
static explicit operator System::String ^(Microsoft::Build::BuildEngine::BuildProperty ^ propertyToCast);
public static explicit operator string (Microsoft.Build.BuildEngine.BuildProperty propertyToCast);
static member op_Explicit : Microsoft.Build.BuildEngine.BuildProperty -> string
Public Shared Narrowing Operator CType (propertyToCast As BuildProperty) As String
Parameters
- propertyToCast
- BuildProperty
The BuildProperty to convert to a string.
Returns
A String
, whose contents are the same as the Value property of the propertyToCast
parameter.
Remarks
The equivalent method for this operator is BuildProperty.ToString()