Udostępnij za pośrednictwem


DocumentData.Id Property

Definition

[Microsoft.WindowsAzure.Mobile.Service.Tables.TableColumn(Microsoft.WindowsAzure.Mobile.Service.Tables.TableColumnType.Id)]
[MongoDB.Bson.Serialization.Attributes.BsonId(IdGenerator=typeof(MongoDB.Bson.Serialization.IdGenerators.StringObjectIdGenerator))]
[MongoDB.Bson.Serialization.Attributes.BsonIgnoreIfDefault]
[MongoDB.Bson.Serialization.Attributes.BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
public string Id { get; set; }
[<Microsoft.WindowsAzure.Mobile.Service.Tables.TableColumn(Microsoft.WindowsAzure.Mobile.Service.Tables.TableColumnType.Id)>]
[<MongoDB.Bson.Serialization.Attributes.BsonId(IdGenerator=typeof(MongoDB.Bson.Serialization.IdGenerators.StringObjectIdGenerator))>]
[<MongoDB.Bson.Serialization.Attributes.BsonIgnoreIfDefault>]
[<MongoDB.Bson.Serialization.Attributes.BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)>]
member this.Id : string with get, set
Public Property Id As String

Property Value

Implements

Id
Attributes
TableColumnAttribute MongoDB.Bson.Serialization.Attributes.BsonIdAttribute MongoDB.Bson.Serialization.Attributes.BsonIgnoreIfDefaultAttribute MongoDB.Bson.Serialization.Attributes.BsonRepresentationAttribute

Applies to