共用方式為


ProvideServiceAttributeBase.ServiceName Property

Gets or sets the name of the service.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Property ServiceName As String
public string ServiceName { get; set; }

Property Value

Type: System.String
The service name.

.NET Framework Security

See Also

Reference

ProvideServiceAttributeBase Class

Microsoft.VisualStudio.Shell Namespace