Gets or sets the name prefix component.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Prefix As String |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As PersonName
Dim value As String
instance.Prefix = value
value = instance.Prefix
|
| C# | |
|---|
public string Prefix {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property string* get_Prefix();
public: __property void set_Prefix(
string* value
); |
Return Value
The name prefix.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also