Creates a new instance of the
FieldAttribute
Class.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function New( _
ByVal fieldName As String _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim fieldName As String
Dim instance As FieldAttribute(fieldName)
|
| Managed Extensions for C++ | |
|---|
public: FieldAttribute(
string* fieldName
) |
| C++/CLI | |
|---|
public:
FieldAttribute(
String^ fieldName
) |
Parameters
- fieldName
- Name of the field in the storage that is mapped to the property.
Exceptions
| Exception | Description |
| ArgumentNullException | FieldName is null. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also