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.
Erstellt eine strukturelle Eigenschaft und fügt sie diesem Typ hinzu.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function AddStructuralProperty ( _
name As String, _
type As IEdmTypeReference, _
defaultValue As String, _
concurrencyMode As EdmConcurrencyMode _
) As EdmStructuralProperty
'Usage
Dim instance As EdmStructuredType
Dim name As String
Dim type As IEdmTypeReference
Dim defaultValue As String
Dim concurrencyMode As EdmConcurrencyMode
Dim returnValue As EdmStructuralProperty
returnValue = instance.AddStructuralProperty(name, _
type, defaultValue, concurrencyMode)
public EdmStructuralProperty AddStructuralProperty(
string name,
IEdmTypeReference type,
string defaultValue,
EdmConcurrencyMode concurrencyMode
)
public:
EdmStructuralProperty^ AddStructuralProperty(
String^ name,
IEdmTypeReference^ type,
String^ defaultValue,
EdmConcurrencyMode concurrencyMode
)
member AddStructuralProperty :
name:string *
type:IEdmTypeReference *
defaultValue:string *
concurrencyMode:EdmConcurrencyMode -> EdmStructuralProperty
public function AddStructuralProperty(
name : String,
type : IEdmTypeReference,
defaultValue : String,
concurrencyMode : EdmConcurrencyMode
) : EdmStructuralProperty
Parameter
- name
Typ: System.String
Der Name der Eigenschaft.
- type
Typ: Microsoft.Data.Edm.IEdmTypeReference
Der Typ der Eigenschaft.
- defaultValue
Typ: System.String
Der Standardwert dieser Eigenschaft.
- concurrencyMode
Typ: Microsoft.Data.Edm.EdmConcurrencyMode
Der Parallelitätsmodus dieser Eigenschaft.
Rückgabewert
Typ: Microsoft.Data.Edm.Library.EdmStructuralProperty
Die erstellte strukturelle Eigenschaft.