DataContractBase.SetProperty<T> 메서드
이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Sets the property using the specified values.
네임스페이스: Microsoft.MasterDataServices.Services.DataContracts
어셈블리: Microsoft.MasterDataServices.Services.Contracts(Microsoft.MasterDataServices.Services.Contracts.dll)
구문
‘선언
Protected Function SetProperty(Of T) ( _
ByRef propertyBackingField As T, _
newValue As T, _
propertyName As String, _
emptyStringIsNull As Boolean _
) As Boolean
‘사용 방법
Dim propertyBackingField As T
Dim newValue As T
Dim propertyName As String
Dim emptyStringIsNull As Boolean
Dim returnValue As Boolean
returnValue = Me.SetProperty(propertyBackingField, _
newValue, propertyName, emptyStringIsNull)
protected bool SetProperty<T>(
ref T propertyBackingField,
T newValue,
string propertyName,
bool emptyStringIsNull
)
protected:
generic<typename T>
bool SetProperty(
T% propertyBackingField,
T newValue,
String^ propertyName,
bool emptyStringIsNull
)
member SetProperty :
propertyBackingField:'T byref *
newValue:'T *
propertyName:string *
emptyStringIsNull:bool -> bool
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.
유형 매개 변수
- T
The property type.
매개 변수
- propertyBackingField
유형: T%
The backing field of the property to change.
- newValue
유형: T
The new value to give to the property.
- propertyName
유형: System.String
The name of the property.
- emptyStringIsNull
유형: System.Boolean
true to indicate that the empty string is null; otherwise, false.
반환 값
유형: System.Boolean
true if the property was set; otherwise, false.