EdmTypeSemantics.AsTypeDefinition(IEdmTypeReference) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果這個參考屬於類型定義,這會傳回型別定義的有效型別定義參考。 否則,它會傳回不正確的類型定義參考。
public static Microsoft.OData.Edm.IEdmTypeDefinitionReference AsTypeDefinition (this Microsoft.OData.Edm.IEdmTypeReference type);
static member AsTypeDefinition : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IEdmTypeDefinitionReference
<Extension()>
Public Function AsTypeDefinition (type As IEdmTypeReference) As IEdmTypeDefinitionReference
參數
- type
- IEdmTypeReference
呼叫物件的參考。
傳回
如果參考的定義是型別定義,則為有效的型別定義參考。 否則為不正確的型別定義參考。