Share via


Name Property

Gets the name of the manifest property.

Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.Sdk (in Microsoft.Web.Media.TransformManager.Sdk.dll)

Syntax

'Declaration

  ReadOnly Property Name As XName
    Get
'Usage

  Dim instance As IManifestProperty
Dim value As XName

value = instance.Name
  XName Name { get; }
  property XName^ Name {
    XName^ get ();
}
  abstract Name : XName
  function get Name () : XName

Property Value

Type: System.Xml.Linq. . :: . .XName
The name of the XML manifest element.

Remarks

The properties are stored as elements in the manifest XML. For example, a manifest for an Expression Encoder job might override the presets file using the following manifest section:

<rdf:RDF xmlns:iisms="https://schemas.microsoft.com/iis/media/v4/Metroplex#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:ee="https://schemas.microsoft.com/Expression/Encoder/V4#">
  <iisms:Task xmlns:ee="https://schemas.microsoft.com/Expression/Encoder/V4#">
    <iisms:Id>A72D7A5D-3022-45f2-89B4-1DDC5457CC12</iisms:Id>
    <ee:Preset>%ProgramData%\Microsoft\IIS\Transformation Manager\Presets\VC1Profile.xml</ee:Preset>
  </iisms:Task>
</rdf:RDF>

When an application calls IJobMetadata..::..GetProperty(XName) with the XName parameter set to ee:Preset, it is selecting the XML element preset in the https://schemas.microsoft.com/Expression/Encoder/V4 namespace .

See Also

Reference

IManifestProperty Interface

Microsoft.Web.Media.TransformManager Namespace