ExportConventionBuilder.AddMetadata 메서드

정의

오버로드

Name Description
AddMetadata(String, Func<Type,Object>)

지정된 이름과 값을 포함하는 메타데이터를 내보내기에 추가합니다.

AddMetadata(String, Object)

지정된 이름과 값을 포함하는 메타데이터를 내보내기에 추가합니다.

AddMetadata(String, Func<Type,Object>)

Source:
ExportConventionBuilder.cs
Source:
ExportConventionBuilder.cs
Source:
ExportConventionBuilder.cs
Source:
ExportConventionBuilder.cs

지정된 이름과 값을 포함하는 메타데이터를 내보내기에 추가합니다.

public:
 System::Composition::Convention::ExportConventionBuilder ^ AddMetadata(System::String ^ name, Func<Type ^, System::Object ^> ^ getValueFromPartType);
public System.Composition.Convention.ExportConventionBuilder AddMetadata(string name, Func<Type,object> getValueFromPartType);
member this.AddMetadata : string * Func<Type, obj> -> System.Composition.Convention.ExportConventionBuilder
Public Function AddMetadata (name As String, getValueFromPartType As Func(Of Type, Object)) As ExportConventionBuilder

매개 변수

name
String

추가할 메타데이터의 이름입니다.

getValueFromPartType
Func<Type,Object>

추가할 메타데이터의 값을 제공하는 함수입니다.

반품

추가 구성을 허용하는 메타데이터를 포함하는 내보내기 작성기입니다.

적용 대상

AddMetadata(String, Object)

Source:
ExportConventionBuilder.cs
Source:
ExportConventionBuilder.cs
Source:
ExportConventionBuilder.cs
Source:
ExportConventionBuilder.cs

지정된 이름과 값을 포함하는 메타데이터를 내보내기에 추가합니다.

public:
 System::Composition::Convention::ExportConventionBuilder ^ AddMetadata(System::String ^ name, System::Object ^ value);
public System.Composition.Convention.ExportConventionBuilder AddMetadata(string name, object value);
member this.AddMetadata : string * obj -> System.Composition.Convention.ExportConventionBuilder
Public Function AddMetadata (name As String, value As Object) As ExportConventionBuilder

매개 변수

name
String

추가할 메타데이터의 이름입니다.

value
Object

추가할 메타데이터의 값입니다.

반품

추가 구성을 허용하는 메타데이터를 포함하는 내보내기 작성기입니다.

적용 대상