EdmTypeSemantics.IsOrInheritsFrom 메서드
형식이 다른 형식과 동등한지 아니면 다른 형식에서 파생되었는지 확인합니다.
네임스페이스: Microsoft.Data.Edm
어셈블리: Microsoft.Data.Edm(Microsoft.Data.Edm.dll)
구문
‘선언
<ExtensionAttribute> _
Public Shared Function IsOrInheritsFrom ( _
thisType As IEdmType, _
otherType As IEdmType _
) As Boolean
‘사용 방법
Dim thisType As IEdmType
Dim otherType As IEdmType
Dim returnValue As Boolean
returnValue = thisType.IsOrInheritsFrom(otherType)
public static bool IsOrInheritsFrom(
this IEdmType thisType,
IEdmType otherType
)
[ExtensionAttribute]
public:
static bool IsOrInheritsFrom(
IEdmType^ thisType,
IEdmType^ otherType
)
static member IsOrInheritsFrom :
thisType:IEdmType *
otherType:IEdmType -> bool
public static function IsOrInheritsFrom(
thisType : IEdmType,
otherType : IEdmType
) : boolean
매개 변수
- thisType
유형: Microsoft.Data.Edm.IEdmType
다른 형식과 동등한지 아니면 다른 형식에서 파생되었는지 테스트할 형식입니다.
- otherType
유형: Microsoft.Data.Edm.IEdmType
다른 형식입니다.
반환 값
유형: System.Boolean
thisType 매개 변수가 otherType 매개 변수와 동등하거나 이 매개 변수에서 상속하는 경우에만 true이고, 그렇지 않은 경우에는 false입니다.
사용법 정보
Visual Basic 및 C#에서는 이 메서드를 IEdmType 유형의 모든 개체에 대한 인스턴스 메서드로 호출할 수 있습니다. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출하는 경우 첫 번째 매개 변수를 생략합니다. 자세한 내용은 https://msdn.microsoft.com/ko-kr/library/bb384936(v=vs.103) 또는 https://msdn.microsoft.com/ko-kr/library/bb383977(v=vs.103)을(를) 참조하십시오.