Metodo EdmStructuredType.AddStructuralProperty (String, IEdmTypeReference)
Crea e aggiunge una proprietà strutturale al tipo.
Spazio dei nomi Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Sintassi
'Dichiarazione
Public Function AddStructuralProperty ( _
name As String, _
type As IEdmTypeReference _
) As EdmStructuralProperty
'Utilizzo
Dim instance As EdmStructuredType
Dim name As String
Dim type As IEdmTypeReference
Dim returnValue As EdmStructuralProperty
returnValue = instance.AddStructuralProperty(name, _
type)
public EdmStructuralProperty AddStructuralProperty(
string name,
IEdmTypeReference type
)
public:
EdmStructuralProperty^ AddStructuralProperty(
String^ name,
IEdmTypeReference^ type
)
member AddStructuralProperty :
name:string *
type:IEdmTypeReference -> EdmStructuralProperty
public function AddStructuralProperty(
name : String,
type : IEdmTypeReference
) : EdmStructuralProperty
Parametri
- name
Tipo: System.String
Nome della proprietà.
- type
Tipo: Microsoft.Data.Edm.IEdmTypeReference
Tipo di proprietà.
Valore restituito
Tipo: Microsoft.Data.Edm.Library.EdmStructuralProperty
Proprietà strutturale creata.