Specifies whether the field connected to the property is an identifier (primary
key for some storage) of the entity.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Identifier As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As FieldAttribute
Dim value As Boolean
instance.Identifier = value
value = instance.Identifier
|
| C# | |
|---|
public bool Identifier {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_Identifier();
public: __property void set_Identifier(
bool value
); |
| C++/CLI | |
|---|
public:
property bool Identifier {
bool get();
void set (bool value);
} |
Return Value
Returns true if the field connected to the property is an identifier.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also