다음을 통해 공유


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
    형식: System.String
    값을 검색할 속성의 이름입니다.

반환 값

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

예외

예외 조건
ArgumentNullException

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

설명

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

상속자 참고 사항

이 메서드의 기본 구현을 반환 합니다. nullNull 참조(Visual Basic의 경우 Nothing).

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

DataSourceInformation 클래스

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