DocumentData.Id Property
Namespace: Microsoft.WindowsAzure.Mobile.Service
Assembly: Microsoft.WindowsAzure.Mobile.Service.Mongo (in Microsoft.WindowsAzure.Mobile.Service.Mongo.dll)
Syntax
[BsonIdAttribute(IdGenerator = typeof(StringObjectIdGenerator))]
[TableColumnAttribute(TableColumnType.Id)]
[BsonRepresentationAttribute(BsonType.ObjectId)]
[BsonIgnoreIfDefaultAttribute]
public string Id {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public:
[BsonIdAttribute(IdGenerator = (StringObjectIdGenerator^::typeid))]
[TableColumnAttribute(TableColumnType::Id)]
[BsonRepresentationAttribute(BsonType::ObjectId)]
[BsonIgnoreIfDefaultAttribute]
property String^ Id {
[CompilerGeneratedAttribute]
virtual String^ get() sealed;
[CompilerGeneratedAttribute]
virtual void set(String^ value) sealed;
}
[<BsonIdAttribute(IdGenerator = typeof(StringObjectIdGenerator))>]
[<TableColumnAttribute(TableColumnType.Id)>]
[<BsonRepresentationAttribute(BsonType.ObjectId)>]
[<BsonIgnoreIfDefaultAttribute>]
abstract Id : string with get, set
[<BsonIdAttribute(IdGenerator = typeof(StringObjectIdGenerator))>]
[<TableColumnAttribute(TableColumnType.Id)>]
[<BsonRepresentationAttribute(BsonType.ObjectId)>]
[<BsonIgnoreIfDefaultAttribute>]
override Id : string with get, set
<BsonIdAttribute(IdGenerator := GetType(StringObjectIdGenerator))>
<TableColumnAttribute(TableColumnType.Id)>
<BsonRepresentationAttribute(BsonType.ObjectId)>
<BsonIgnoreIfDefaultAttribute>
Public Property Id As String
Property Value
Type: System.String
Implements
See Also
DocumentData Class
Microsoft.WindowsAzure.Mobile.Service Namespace
Return to top