Project.GetMetadataValueEscaped Method
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.
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
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.