DataSourceInformation.GetType 메서드 (String)
검색은 Type 따라서 적절 한 변환 검색된 값을 올바른 형식으로 사용 하면 지정 된 속성의 형식을 나타내는 값입니다.
네임스페이스: Microsoft.VisualStudio.Data.Framework
어셈블리: Microsoft.VisualStudio.Data.Framework(Microsoft.VisualStudio.Data.Framework.dll)
구문
‘선언
Protected Overridable Function GetType ( _
propertyName As String _
) As Type
protected virtual Type GetType(
string propertyName
)
protected:
virtual Type^ GetType(
String^ propertyName
)
abstract GetType :
propertyName:string -> Type
override GetType :
propertyName:string -> Type
protected function GetType(
propertyName : String
) : Type
매개 변수
- propertyName
형식: System.String
이름 속성을 가져올 형식입니다.
반환 값
형식: System.Type
A Type 지정된 된 속성의 형식을 나타내는 값입니다.
예외
예외 | 조건 |
---|---|
ArgumentNullException | propertyName 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)입니다. |
설명
이 메서드는 속성이 발견 된 경우 반환 typeof(System.String) 기본 형식.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.