共用方式為


ProvideServiceAttribute.ServiceName Property

Gets or sets the name of the service.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'宣告
Public Property ServiceName As String
    Get
    Set
'用途
Dim instance As ProvideServiceAttribute
Dim value As String

value = instance.ServiceName

instance.ServiceName = value
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: System.String
The name of the service.

.NET Framework Security

See Also

Reference

ProvideServiceAttribute Class

ProvideServiceAttribute Members

Microsoft.VisualStudio.Shell Namespace