IModelAnnotationHolder.GetAnnotations 方法 (Type)
傳回指定型別之附加附註的清單。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Function GetAnnotations ( _
annotationType As Type _
) As IList(Of IModelAnnotation)
IList<IModelAnnotation> GetAnnotations(
Type annotationType
)
IList<IModelAnnotation^>^ GetAnnotations(
Type^ annotationType
)
abstract GetAnnotations :
annotationType:Type -> IList<IModelAnnotation>
function GetAnnotations(
annotationType : Type
) : IList<IModelAnnotation>
參數
- annotationType
型別:System.Type
指定 IModelAnnotation 型別。
傳回值
型別:System.Collections.Generic.IList<IModelAnnotation>
包含已選取之模型附註的清單。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。