SubMain - CodeIt.Right The First Time!  
Home
Products
  CodeIt.Right
  CodeIt.Once for .NET
  PrettyCode.Print for .NET
  PrettyCode.Print
  SmartOutline for VS2005
  .NET Coding Guidelines
Download
Purchase
Support
Contact Us

CodeIt.Right SDK Class Library

RuleUtilities.HasAttribute Method 

Returns True if specified code element has an attribute.

public static bool HasAttribute(
   IElementInfo elementInfo,
   string attributeFullName,
   bool isCaseSensitive
);

Parameters

elementInfo

Element

attributeFullName

Attribute full name

isCaseSensitive

True if project language is case sensitive; False if otherwise

Return Value

True if specified code element has specified attribute; False if otherwise.

Remarks

Example

To be added.

See Also

RuleUtilities Class | SubMain.CodeItRight.Sdk.Utils Namespace