BuildProperty.Explicit(BuildProperty to String) Operator

Definition

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()

Applies to