다음을 통해 공유


ReflectionModelServices.CreateExportDefinition 메서드

정의

지정된 계약 이름, 메타데이터 및 원본을 사용하여 지정된 멤버에서 내보내기 정의를 만듭니다.

public:
 static System::ComponentModel::Composition::Primitives::ExportDefinition ^ CreateExportDefinition(System::ComponentModel::Composition::ReflectionModel::LazyMemberInfo exportingMember, System::String ^ contractName, Lazy<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^> ^ metadata, System::ComponentModel::Composition::Primitives::ICompositionElement ^ origin);
public static System.ComponentModel.Composition.Primitives.ExportDefinition CreateExportDefinition (System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo exportingMember, string contractName, Lazy<System.Collections.Generic.IDictionary<string,object>> metadata, System.ComponentModel.Composition.Primitives.ICompositionElement origin);
public static System.ComponentModel.Composition.Primitives.ExportDefinition CreateExportDefinition (System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo exportingMember, string contractName, Lazy<System.Collections.Generic.IDictionary<string,object?>> metadata, System.ComponentModel.Composition.Primitives.ICompositionElement? origin);
static member CreateExportDefinition : System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo * string * Lazy<System.Collections.Generic.IDictionary<string, obj>> * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ExportDefinition
Public Shared Function CreateExportDefinition (exportingMember As LazyMemberInfo, contractName As String, metadata As Lazy(Of IDictionary(Of String, Object)), origin As ICompositionElement) As ExportDefinition

매개 변수

exportingMember
LazyMemberInfo

내보낼 멤버입니다.

contractName
String

내보내기에 사용할 계약 이름입니다.

metadata
Lazy<IDictionary<String,Object>>

내보내기의 메타데이터입니다.

origin
ICompositionElement

내보내기가 발생한 개체입니다.

반환

지정된 매개 변수에서 만들어진 내보내기 정의입니다.

적용 대상