Share via


AbstractInstallerBuilder.ConfirmAttributeExists Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Helper method to determine if the given type is attributed with the necessary attributes to be installed for a given installer

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
ProtectedFunctionConfirmAttributeExists ( _
    instrumentedTypeAs Type, _
    attributeTypeAs Type _
) As Boolean
protected bool ConfirmAttributeExists(
    Type instrumentedType,
    Type attributeType
)
protected:
bool ConfirmAttributeExists(
    Type^ instrumentedType, 
    Type^ attributeType
)
protectedfunctionConfirmAttributeExists(
    instrumentedType : Type, 
    attributeType : Type
) : boolean

Parameters

  • attributeType
    Type: System.Type
    More specific attribute used to match resource being installed

Return Value

True if the attributes on the given instrumentedType matches attributeType

See Also

AbstractInstallerBuilder Class

Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.