MetadataObject.Name property
Gets or sets the name of the object.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property Name As String
Get
Set
'Usage
Dim instance As MetadataObject
Dim value As String
value = instance.Name
instance.Name = value
public string Name { get; set; }
Property value
Type: System.String
The name of the object.
Remarks
This property throws an ArgumentNullException and ArgumentException exception.
Examples
The following example illustrates the use of this property on an Entity object, which is a MetadaObject type.
Code Snippet: Add a Localized Name to a MetadataObject Using the Administration Object Model