Share via


SnapInSettingsAttribute Class

 

Defines the registration information for a snap-in. A single instance may be applied to a class that is derived from snap-in.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.ManagementConsole.SnapInSettingsAttribute

Syntax

[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class SnapInSettingsAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class)]
public ref class SnapInSettingsAttribute sealed : Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class)>]
type SnapInSettingsAttribute = 
    class
        inherit Attribute
    end
<AttributeUsageAttribute(AttributeTargets.Class)>
Public NotInheritable Class SnapInSettingsAttribute
    Inherits Attribute

Constructors

Name Description
System_CAPS_pubmethod SnapInSettingsAttribute(String)

Initializes a new instance of the SnapInSettingsAttribute class using the GUID that represents the snap-in type as an argument.

Properties

Name Description
System_CAPS_pubproperty ConfigurationFile

Gets or sets the configuration file for the snap-in.

System_CAPS_pubproperty Description

Gets or sets the description of the snap-in.

System_CAPS_pubproperty DisplayName

Gets or sets the display name of the snap-in.

System_CAPS_pubproperty DynamicBase

Gets or sets the dynamic base for the snap-in.

System_CAPS_pubproperty Guid

Gets the GUID for the snap-in type.

System_CAPS_pubproperty LicenseFile

Gets or sets the license file for the snap-in.

System_CAPS_pubproperty PrivateBinPath

Gets or sets the private binary path for the snap-in.

System_CAPS_pubproperty PrivateBinPathProbe

Gets or sets the private binary path probe for the snap-in.

System_CAPS_pubproperty TypeId

(Inherited from Attribute.)

System_CAPS_pubproperty UseCustomHelp

Gets or sets the UseCustomHelp property. When this property of the SnapInSettingsAttribute is set to true, it indicates that the snap-in has defined its own custom help mechanism. When a snap-in user requests help, the custom help functionality is invoked in place of the default MMC help display if UseCustomHelp is set to true.

System_CAPS_pubproperty Vendor

Gets or sets the name of the snap-in vendor.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethod Match(Object)

(Inherited from Attribute.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

(Inherited from Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

(Inherited from Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfoCount(UInt32)

(Inherited from Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

(Inherited from Attribute.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ManagementConsole Namespace

Return to top