Delen via


DataConnectionProperties.ICustomTypeDescriptor.GetComponentName Method

Retrieves the name of the specified object.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Private Function GetComponentName As String 
    Implements ICustomTypeDescriptor.GetComponentName
string ICustomTypeDescriptor.GetComponentName()
private:
virtual String^ GetComponentName() sealed = ICustomTypeDescriptor::GetComponentName
private abstract GetComponentName : unit -> string  
private override GetComponentName : unit -> string
JScript does not support explicit interface implementations.

Return Value

Type: System.String
Returns the name of the object, or nulla null reference (Nothing in Visual Basic) if the object does not have a name.

Implements

ICustomTypeDescriptor.GetComponentName()

Remarks

In cases where the method returns nulla null reference (Nothing in Visual Basic), use the default name.

This method provides an implementation of the GetComponentName method. For more information see the GetComponentName method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace