다음을 통해 공유


IUpdatable.GetValue 메서드

대상 개체에 지정된 속성 값을 가져옵니다.

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

구문

‘선언
Function GetValue ( _
    targetResource As Object, _
    propertyName As String _
) As Object
‘사용 방법
Dim instance As IUpdatable
Dim targetResource As Object
Dim propertyName As String
Dim returnValue As Object

returnValue = instance.GetValue(targetResource, _
    propertyName)
Object GetValue(
    Object targetResource,
    string propertyName
)
Object^ GetValue(
    Object^ targetResource, 
    String^ propertyName
)
abstract GetValue : 
        targetResource:Object * 
        propertyName:string -> Object 
function GetValue(
    targetResource : Object, 
    propertyName : String
) : Object

매개 변수

  • targetResource
    유형: System.Object
    리소스를 나타내는 불투명 개체입니다.
  • propertyName
    유형: System.String
    값을 검색해야 하는 속성의 이름입니다.

반환 값

유형: System.Object
개체 값입니다.

주의

이 메서드는 스칼라 속성 또는 복합 속성에 대해 호출됩니다. 스칼라 속성의 경우 반환된 개체가 실제 값이어야 합니다.

참고 항목

참조

IUpdatable 인터페이스

System.Data.Services 네임스페이스