共用方式為


IEdmOptionalParameter 介面

定義

表示 EDM 作業的選擇性參數。

public interface IEdmOptionalParameter : Microsoft.OData.Edm.IEdmOperationParameter
type IEdmOptionalParameter = interface
    interface IEdmOperationParameter
    interface IEdmNamedElement
    interface IEdmElement
    interface IEdmVocabularyAnnotatable
Public Interface IEdmOptionalParameter
Implements IEdmOperationParameter
衍生
實作

屬性

DeclaringOperation

取得宣告此參數的作業。

(繼承來源 IEdmOperationParameter)
DefaultValueString

取得此屬性的預設值。

Name

取得此元素的名稱。

(繼承來源 IEdmNamedElement)
Type

取得這個作業參數的類型。

(繼承來源 IEdmOperationParameter)

擴充方法

GetSymbolicString(IEdmVocabularyAnnotatable)

取得批註專案的符號字串。 在下一個中斷性變更中,最好將屬性新增至 IEdmVocabularyAnnotatable

Location(IEdmElement)

取得此元素的位置。

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

取得從特定模型中所見之可註釋元素的詞彙註釋。

Errors(IEdmElement)

取得屬於此元素或此元素所包含之元素的錯誤 (如果有的話)。 例如,結構化型別的錯誤包括型別本身的錯誤及其宣告屬性的錯誤。 該方法不會分析此元素所參考的元素。 例如,屬性的錯誤不包括其型別中的錯誤。

IsBad(IEdmElement)

如果這個專案包含 方法傳 Errors(IEdmElement) 回的錯誤,則傳回 true。

適用於