ImportAttribute 생성자

정의

ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

오버로드

ImportAttribute()

기본 계약 이름을 가진 내보내기를 가져와 ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

ImportAttribute(String)

지정된 계약 이름을 가진 내보내기를 가져와 ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

ImportAttribute(Type)

지정된 형식에서 파생된 계약 이름을 가진 내보내기를 가져와 ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

ImportAttribute(String, Type)

지정된 계약 이름과 형식을 가진 내보내기를 가져와 ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

ImportAttribute()

Source:
ImportAttribute.cs
Source:
ImportAttribute.cs
Source:
ImportAttribute.cs

기본 계약 이름을 가진 내보내기를 가져와 ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

public:
 ImportAttribute();
public ImportAttribute ();
Public Sub New ()

설명

기본 계약 이름은 이 특성으로 표시된 속성, 필드 또는 매개 변수 형식에서 메서드를 호출 GetContractName 한 결과입니다.

계약 이름을 사용 하 여 비교를 Ordinal 대/소문자 구분, 비 언어적 비교를 수행 하는 속성입니다.

적용 대상

ImportAttribute(String)

Source:
ImportAttribute.cs
Source:
ImportAttribute.cs
Source:
ImportAttribute.cs

지정된 계약 이름을 가진 내보내기를 가져와 ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

public:
 ImportAttribute(System::String ^ contractName);
public ImportAttribute (string contractName);
public ImportAttribute (string? contractName);
new System.ComponentModel.Composition.ImportAttribute : string -> System.ComponentModel.Composition.ImportAttribute
Public Sub New (contractName As String)

매개 변수

contractName
String

가져올 내보내기의 계약 이름이거나, 기본 계약 이름을 사용할 경우 null이거나 빈 문자열("")입니다.

설명

기본 계약 이름은 이 특성으로 표시된 속성, 필드 또는 매개 변수 형식에서 메서드를 호출 GetContractName 한 결과입니다.

계약 이름을 사용 하 여 비교를 Ordinal 대/소문자 구분, 비 언어적 비교를 수행 하는 속성입니다.

적용 대상

ImportAttribute(Type)

Source:
ImportAttribute.cs
Source:
ImportAttribute.cs
Source:
ImportAttribute.cs

지정된 형식에서 파생된 계약 이름을 가진 내보내기를 가져와 ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

public:
 ImportAttribute(Type ^ contractType);
public ImportAttribute (Type contractType);
public ImportAttribute (Type? contractType);
new System.ComponentModel.Composition.ImportAttribute : Type -> System.ComponentModel.Composition.ImportAttribute
Public Sub New (contractType As Type)

매개 변수

contractType
Type

내보내기의 계약 이름이 파생되는 형식이거나, 기본 계약 이름을 사용할 경우 null입니다.

설명

계약 이름은 호출의 결과 GetContractName 메서드를 contractType입니다.

기본 계약 이름은 이 특성으로 표시된 속성, 필드 또는 매개 변수 형식에서 메서드를 호출 GetContractName 한 결과입니다.

계약 이름을 사용 하 여 비교를 Ordinal 대/소문자 구분, 비 언어적 비교를 수행 하는 속성입니다.

적용 대상

ImportAttribute(String, Type)

Source:
ImportAttribute.cs
Source:
ImportAttribute.cs
Source:
ImportAttribute.cs

지정된 계약 이름과 형식을 가진 내보내기를 가져와 ImportAttribute 클래스의 새 인스턴스를 초기화합니다.

public:
 ImportAttribute(System::String ^ contractName, Type ^ contractType);
public ImportAttribute (string contractName, Type contractType);
public ImportAttribute (string? contractName, Type? contractType);
new System.ComponentModel.Composition.ImportAttribute : string * Type -> System.ComponentModel.Composition.ImportAttribute
Public Sub New (contractName As String, contractType As Type)

매개 변수

contractName
String

가져올 내보내기의 계약 이름이거나, 기본 계약 이름을 사용할 경우 null이거나 빈 문자열("")입니다.

contractType
Type

가져올 내보내기의 형식입니다.

적용 대상