Project.GetMetadataValueEscaped Method

Definition

Gets the escaped value of the metadatum with the provided name on the provided item.

Overloads

GetMetadataValueEscaped(ProjectMetadata)

Gets the escaped value of the provided metadatum.

GetMetadataValueEscaped(ProjectItem, String)

Gets the escaped value of the metadatum with the provided name on the provided item.

GetMetadataValueEscaped(ProjectItemDefinition, String)

Gets the escaped value of the metadatum with the provided name on the provided item definition.

GetMetadataValueEscaped(ProjectMetadata)

Source:
Project.cs

Gets the escaped value of the provided metadatum.

public:
 static System::String ^ GetMetadataValueEscaped(Microsoft::Build::Evaluation::ProjectMetadata ^ metadatum);
public static string GetMetadataValueEscaped (Microsoft.Build.Evaluation.ProjectMetadata metadatum);
static member GetMetadataValueEscaped : Microsoft.Build.Evaluation.ProjectMetadata -> string
Public Shared Function GetMetadataValueEscaped (metadatum As ProjectMetadata) As String

Parameters

metadatum
ProjectMetadata

The metadatum to be escaped.

Returns

The escaped value of the provided metadatum.

Applies to

GetMetadataValueEscaped(ProjectItem, String)

Source:
Project.cs

Gets the escaped value of the metadatum with the provided name on the provided item.

public:
 static System::String ^ GetMetadataValueEscaped(Microsoft::Build::Evaluation::ProjectItem ^ item, System::String ^ name);
public static string GetMetadataValueEscaped (Microsoft.Build.Evaluation.ProjectItem item, string name);
static member GetMetadataValueEscaped : Microsoft.Build.Evaluation.ProjectItem * string -> string
Public Shared Function GetMetadataValueEscaped (item As ProjectItem, name As String) As String

Parameters

item
ProjectItem

The item whose metadata is to be escaped.

name
String

The name of the metadata to be escaped.

Returns

The escaped value of the metadatum with the provided name on the provided item.

Applies to

GetMetadataValueEscaped(ProjectItemDefinition, String)

Source:
Project.cs

Gets the escaped value of the metadatum with the provided name on the provided item definition.

public:
 static System::String ^ GetMetadataValueEscaped(Microsoft::Build::Evaluation::ProjectItemDefinition ^ item, System::String ^ name);
public static string GetMetadataValueEscaped (Microsoft.Build.Evaluation.ProjectItemDefinition item, string name);
static member GetMetadataValueEscaped : Microsoft.Build.Evaluation.ProjectItemDefinition * string -> string
Public Shared Function GetMetadataValueEscaped (item As ProjectItemDefinition, name As String) As String

Parameters

item
ProjectItemDefinition

The item definition whose metadata is to be escaped.

name
String

The name of the metadata to be escaped.

Returns

The escaped value of the metadatum with the provided name on the provided item definition.

Applies to