ModelStore.CreateNamedAnnotation Yöntem (Type, ModelIdentifier)
Bir adlandırılmış oluşturur ModelAnnotation nesnesi kullanılarak sağlanan modeli 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 ( _
annotationType As Type, _
identifier As ModelIdentifier _
) As IModelAnnotation
public IModelAnnotation CreateNamedAnnotation(
Type annotationType,
ModelIdentifier identifier
)
public:
IModelAnnotation^ CreateNamedAnnotation(
Type^ annotationType,
ModelIdentifier^ identifier
)
member CreateNamedAnnotation :
annotationType:Type *
identifier:ModelIdentifier -> IModelAnnotation
public function CreateNamedAnnotation(
annotationType : Type,
identifier : ModelIdentifier
) : IModelAnnotation
Parametreler
- annotationType
Tür: System.Type
A Type , this türetilmiştir
- 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
Bir 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