ExportBuilder.AddMetadata 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.
Specifies metadata to be added to the export.
Overloads
AddMetadata(String, Func<Type,Object>) |
Specifies a metadata key/value pair to be added to the export. |
AddMetadata(String, Object) |
Specifies a metadata key/value pair to be added to the export. |
AddMetadata(String, Func<Type,Object>)
- Source:
- ExportBuilder.cs
- Source:
- ExportBuilder.cs
- Source:
- ExportBuilder.cs
- Source:
- ExportBuilder.cs
Specifies a metadata key/value pair to be added to the export.
public:
System::ComponentModel::Composition::Registration::ExportBuilder ^ AddMetadata(System::String ^ name, Func<Type ^, System::Object ^> ^ itemFunc);
public System.ComponentModel.Composition.Registration.ExportBuilder AddMetadata (string name, Func<Type,object> itemFunc);
member this.AddMetadata : string * Func<Type, obj> -> System.ComponentModel.Composition.Registration.ExportBuilder
Public Function AddMetadata (name As String, itemFunc As Func(Of Type, Object)) As ExportBuilder
Parameters
- name
- String
The metadata key.
Returns
The current object, to allow chaining.
Applies to
AddMetadata(String, Object)
- Source:
- ExportBuilder.cs
- Source:
- ExportBuilder.cs
- Source:
- ExportBuilder.cs
- Source:
- ExportBuilder.cs
Specifies a metadata key/value pair to be added to the export.
public:
System::ComponentModel::Composition::Registration::ExportBuilder ^ AddMetadata(System::String ^ name, System::Object ^ value);
public System.ComponentModel.Composition.Registration.ExportBuilder AddMetadata (string name, object value);
member this.AddMetadata : string * obj -> System.ComponentModel.Composition.Registration.ExportBuilder
Public Function AddMetadata (name As String, value As Object) As ExportBuilder
Parameters
- name
- String
The metadata key.
- value
- Object
The metadata value.
Returns
The current object, to allow chaining.