Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Этот 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.
См. также
Справочник
Пространство имен Microsoft.MasterDataServices.Services.DataContracts