Aracılığıyla paylaş


HostTypeAttribute Class (2007 System)

Specifies the relationship between a type and its canonical name.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Struct Or AttributeTargets.Enum Or AttributeTargets.Interface Or AttributeTargets.Delegate, AllowMultiple := False,  _
    Inherited := False)> _
Public NotInheritable Class HostTypeAttribute _
    Inherits Attribute
'Usage
Dim instance As HostTypeAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Interface|AttributeTargets.Delegate, AllowMultiple = false, 
    Inherited = false)]
public sealed class HostTypeAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Struct|AttributeTargets::Enum|AttributeTargets::Interface|AttributeTargets::Delegate, AllowMultiple = false, 
    Inherited = false)]
public ref class HostTypeAttribute sealed : public Attribute
public final class HostTypeAttribute extends Attribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Tools.Applications.Runtime.HostTypeAttribute

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

HostTypeAttribute Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace