Share via


RazorCompiledItem.Metadata Property

Definition

Gets a collection of arbitrary metadata associated with the item.

public:
 abstract property System::Collections::Generic::IReadOnlyList<System::Object ^> ^ Metadata { System::Collections::Generic::IReadOnlyList<System::Object ^> ^ get(); };
public abstract System.Collections.Generic.IReadOnlyList<object> Metadata { get; }
member this.Metadata : System.Collections.Generic.IReadOnlyList<obj>
Public MustOverride ReadOnly Property Metadata As IReadOnlyList(Of Object)

Property Value

Remarks

For items loaded with the default implementation of RazorCompiledItemLoader, the metadata collection will return all attributes defined on the Type.

Applies to