다음을 통해 공유


DataSourceInformation.RetrieveValue 메서드

지정 된 데이터 원본 정보 속성의 값을 검색합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Framework
어셈블리:  Microsoft.VisualStudio.Data.Framework(Microsoft.VisualStudio.Data.Framework.dll)

구문

‘선언
Protected Overridable Function RetrieveValue ( _
    propertyName As String _
) As Object
protected virtual Object RetrieveValue(
    string propertyName
)
protected:
virtual Object^ RetrieveValue(
    String^ propertyName
)
abstract RetrieveValue : 
        propertyName:string -> Object  
override RetrieveValue : 
        propertyName:string -> Object
protected function RetrieveValue(
    propertyName : String
) : Object

매개 변수

  • propertyName
    형식: String

    값을 검색할 속성의 이름입니다.

반환 값

형식: Object
데이터 원본 정보 속성의 값 또는 nullNull 참조(Visual Basic의 경우 Nothing) 속성이 지원 되지 않는 경우.

예외

예외 조건
ArgumentNullException

propertyName 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

설명

기본 클래스 데이터 원본 정보 속성 마다 한 번씩이 메서드를 검색 하 고 따라서 유일한 호출 된 값의 캐시를 유지 합니다. 따라서이 메서드를 구현 해야 캐시 값 자체.

상속자 참고 사항

이 메서드의 기본 구현은 nullNull 참조(Visual Basic의 경우 Nothing).

.NET Framework 보안

참고 항목

참조

DataSourceInformation 클래스

Microsoft.VisualStudio.Data.Framework 네임스페이스