Gets or sets the name of the service.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Property ServiceName As String
'使用
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);
}
public function get ServiceName () : String
public function set ServiceName (value : String)
Property Value
Type: System.String
The name of the service.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.