ModelStore.GetAnnotations 方法 (ModelIdentifier)
傳回符合特定識別項之模型上的附註清單。
命名空間: Microsoft.Data.Schema.SchemaModel
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Function GetAnnotations ( _
identifier As ModelIdentifier _
) As IList(Of IModelAnnotation)
public IList<IModelAnnotation> GetAnnotations(
ModelIdentifier identifier
)
public:
virtual IList<IModelAnnotation^>^ GetAnnotations(
ModelIdentifier^ identifier
) sealed
abstract GetAnnotations :
identifier:ModelIdentifier -> IList<IModelAnnotation>
override GetAnnotations :
identifier:ModelIdentifier -> IList<IModelAnnotation>
public final function GetAnnotations(
identifier : ModelIdentifier
) : IList<IModelAnnotation>
參數
- identifier
型別:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
ModelIdentifier 物件。
傳回值
型別:System.Collections.Generic.IList<IModelAnnotation>
附註的清單。
實作
IModelAnnotationHolder.GetAnnotations(ModelIdentifier)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。