ModelStore.CreateNamedAnnotation Yöntem (ModelAnnotationClass, ModelIdentifier)
Bir adlandırılmış oluşturur ModelAnnotation nesnesi kullanılarak sağlanan ek açıklama meta veri ve nesne tanımlayıcısı.
Ad alanı: Microsoft.Data.Schema.SchemaModel
Derleme: Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)
Sözdizimi
'Bildirim
Public Function CreateNamedAnnotation ( _
annotationClass As ModelAnnotationClass, _
identifier As ModelIdentifier _
) As IModelAnnotation
public IModelAnnotation CreateNamedAnnotation(
ModelAnnotationClass annotationClass,
ModelIdentifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
ModelAnnotationClass^ annotationClass,
ModelIdentifier^ identifier
)
member CreateNamedAnnotation :
annotationClass:ModelAnnotationClass *
identifier:ModelIdentifier -> IModelAnnotation
public function CreateNamedAnnotation(
annotationClass : ModelAnnotationClass,
identifier : ModelIdentifier
) : IModelAnnotation
Parametreler
- annotationClass
Tür: Microsoft.Data.Schema.SchemaModel.ModelAnnotationClass
A ModelAnnotationClass meta veri nesnesi.
- identifier
Tür: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier adını içeriraçıklama.
Dönüş Değeri
Tür: Microsoft.Data.Schema.SchemaModel.IModelAnnotation
Adlandırılmış modeli ek açıklama.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.
Ayrıca bkz.
Başvuru
CreateNamedAnnotation Fazla Yük