共用方式為


ProvideServiceAttributeBase.ServiceName Property

Gets or sets the name of the service.

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

Syntax

'Declaration
Public Property ServiceName As String
public string ServiceName { get; set; }
public:
property String^ ServiceName {
    String^ get ();
    void set (String^ value);
}
member ServiceName : string with get, set
function get ServiceName () : String 
function set ServiceName (value : String)

Property Value

Type: String
The service name.

.NET Framework Security

See Also

Reference

ProvideServiceAttributeBase Class

Microsoft.VisualStudio.Shell Namespace