共用方式為


EdmTypeSemantics.AsComplex(IEdmTypeReference) 方法

定義

如果這個參考是複雜型別,這會傳回型別定義的有效複雜型別參考。 否則傳回錯誤的複雜類型參考。

public static Microsoft.OData.Edm.IEdmComplexTypeReference AsComplex (this Microsoft.OData.Edm.IEdmTypeReference type);
static member AsComplex : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IEdmComplexTypeReference
<Extension()>
Public Function AsComplex (type As IEdmTypeReference) As IEdmComplexTypeReference

參數

type
IEdmTypeReference

呼叫物件的參考。

傳回

如果此參考的定義是複雜類型,則為有效的複雜類型參考, 否則為不正確的複雜類型參考。

適用於