Share via


ProvideCustomMarkerAttribute Class

This class and its members are reserved for internal use and are not intended to be used in your code. This class is used for registering the custom marker types. If this class is implemented by VSIP SDK later on, we might have to get rid of this and tweek the code a little bit to avoid the clash

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    RegistrationAttribute
      Microsoft.VisualStudio.Data.Tools.Package.Internal..::..ProvideCustomMarkerAttribute

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
Public NotInheritable Class ProvideCustomMarkerAttribute _
    Inherits RegistrationAttribute
'Usage
Dim instance As ProvideCustomMarkerAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class ProvideCustomMarkerAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = true)]
public ref class ProvideCustomMarkerAttribute sealed : public RegistrationAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)>]
type ProvideCustomMarkerAttribute =  
    class
        inherit RegistrationAttribute
    end
public final class ProvideCustomMarkerAttribute extends RegistrationAttribute

The ProvideCustomMarkerAttribute type exposes the following members.

Constructors

  Name Description
Public method ProvideCustomMarkerAttribute Initializes a new instance of the ProvideCustomMarkerAttribute class.

Top

Properties

  Name Description
Public property MarkerName Gets {insert text here}.
Public property MarkerType Gets {insert text here}.
Public property Package Gets {insert text here}.
Public property ResId Gets {insert text here}.
Public property Service Gets {insert text here}.
Public property TypeId (Inherited from RegistrationAttribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Protected method GetPackageRegKeyPath (Inherited from RegistrationAttribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Register Registers the marker information (Overrides RegistrationAttributeRegister(RegistrationContext).)
Public method ToString (Inherited from Object.)
Public method Unregister Unregisters the marker information from registry (Overrides RegistrationAttributeUnregister(RegistrationContext).)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute..::..GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute..::..GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute..::..GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute..::..Invoke (Inherited from Attribute.)

Top

Remarks

This is public because it is used to register markers when we register the package

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

Reference

Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace