Partager via


DataConnectionProperties.ICustomTypeDescriptor.GetComponentName Method

Retrieves the name of the specified object.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.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
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

When the method returns null, 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.Framework Namespace