Share via


AbstractInstallerBuilder.IsInstrumented 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 attributes for a given type match the attributes used to specify a specific kind of installable resource. The type should be attributed with HasInstallableResourcesAttribute and the attribute passed to this method call.

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

Syntax

'Declaration
ProtectedFunctionIsInstrumented ( _
    instrumentedTypeAs Type, _
    instrumentedAttributeTypeAs Type _
) As Boolean
protected bool IsInstrumented(
    Type instrumentedType,
    Type instrumentedAttributeType
)
protected:
bool IsInstrumented(
    Type^ instrumentedType, 
    Type^ instrumentedAttributeType
)
protectedfunctionIsInstrumented(
    instrumentedType : Type, 
    instrumentedAttributeType : Type
) : boolean

Parameters

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

Return Value

true if the type specifies intallable resources.

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.