Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
Sets the property using the specified values.
Namespace: Microsoft.MasterDataServices.Services.DataContracts
Assembly: Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)
Syntax
'Declaration
Protected Function SetProperty(Of T) ( _
ByRef propertyBackingField As T, _
newValue As T, _
propertyName As String, _
emptyStringIsNull As Boolean _
) As Boolean
'Usage
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 bietet keine Unterstützung für die Verwendung generischer Typen und Methoden.
Typparameter
- T
The property type.
Parameter
- propertyBackingField
Typ: T%
The backing field of the property to change.
- newValue
Typ: T
The new value to give to the property.
- propertyName
Typ: System.String
The name of the property.
- emptyStringIsNull
Typ: System.Boolean
true to indicate that the empty string is null; otherwise, false.
Rückgabewert
Typ: System.Boolean
true if the property was set; otherwise, false.
Siehe auch
Verweis
Microsoft.MasterDataServices.Services.DataContracts-Namespace