Type.IsImport 속성
정의
Type에 ComImportAttribute 특성이 적용되어 있는지 여부를 나타내는 값을 가져옵니다. 이 특성은 해당 형식이 COM 형식 라이브러리에서 가져온 것임을 나타냅니다.Gets a value indicating whether the Type has a ComImportAttribute attribute applied, indicating that it was imported from a COM type library.
public:
property bool IsImport { bool get(); };
public bool IsImport { get; }
member this.IsImport : bool
Public ReadOnly Property IsImport As Boolean
속성 값
true
에 Type가 있으면 ComImportAttribute이고, 그렇지 않으면 false
입니다.true
if the Type has a ComImportAttribute; otherwise, false
.
구현
설명
현재 Type 이 생성 된 제네릭 형식을 나타내는 경우이 속성은 형식이 생성 된 제네릭 형식 정의에 적용 됩니다.If the current Type represents a constructed generic type, this property applies to the generic type definition from which the type was constructed. 예를 들어 현재 Type MyGenericType<int>
이 (Visual Basic)를 나타내는 경우 MyGenericType(Of Integer)
이 속성의 값은 다음에 의해 결정 됩니다. MyGenericType<T>.
For example, if the current Type represents MyGenericType<int>
(MyGenericType(Of Integer)
in Visual Basic), the value of this property is determined by MyGenericType<T>.
현재 Type 이 제네릭 형식 또는 제네릭 메서드 정의의 형식 매개 변수를 나타내는 경우이 속성은 항상를 반환 false
합니다.If the current Type represents a type parameter in the definition of a generic type or generic method, this property always returns false
.