EdmProperty 建構函式
建立 EdmProperty 類別的新執行個體。
命名空間: Microsoft.Data.Edm.Library
組件: Microsoft.Data.Edm (在 Microsoft.Data.Edm.dll 中)
語法
'宣告
Protected Sub New ( _
declaringType As IEdmStructuredType, _
name As String, _
type As IEdmTypeReference _
)
'用途
Dim declaringType As IEdmStructuredType
Dim name As String
Dim type As IEdmTypeReference
Dim instance As New EdmProperty(declaringType, _
name, type)
protected EdmProperty(
IEdmStructuredType declaringType,
string name,
IEdmTypeReference type
)
protected:
EdmProperty(
IEdmStructuredType^ declaringType,
String^ name,
IEdmTypeReference^ type
)
new :
declaringType:IEdmStructuredType *
name:string *
type:IEdmTypeReference -> EdmProperty
protected function EdmProperty(
declaringType : IEdmStructuredType,
name : String,
type : IEdmTypeReference
)
參數
- declaringType
型別:Microsoft.Data.Edm.IEdmStructuredType
宣告此屬性的型別。
- name
型別:System.String
屬性的名稱。
- type
型別:Microsoft.Data.Edm.IEdmTypeReference
屬性的型別。