A collection of static utility and helper methods.
The Utilities type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() ![]() |
ContainsInvalidFileNameChars | Determines whether a file name or path contains illegal characters. |
![]() ![]() |
ConvertFromType<T> | Converts a string to an enumeration using a converter. |
![]() ![]() |
ConvertToType<T> | Calls a converter to convert an enumeration to a specific type. |
![]() ![]() |
CreateCADWORD | Creates a CADWORD from a list of tagVsSccFilesFlags. Memory is allocated for the element. |
![]() ![]() |
CreateCALPOLESTR | Creates a CALPOLESTR from a list of strings. |
![]() ![]() |
CreateSccFlagsCADWORD | Creates a list of tagVsSccFilesFlags from a CADWORD. |
![]() ![]() |
CreateSemicolonDelimitedListOfStringFromGuids | Creates a semicolon-delimited list of strings. This can be used to provide the properties for VSHPROPID_CfgPropertyPagesCLSIDList, VSHPROPID_PropertyPagesCLSIDList, or VSHPROPID_PriorityPropertyPagesCLSIDList. |
![]() ![]() |
CreateStringsFromCALPOLESTR | Creates a list of strings from a CALPOLESTR. |
![]() ![]() |
GetImageList | Overloaded. Creates an ImageList of 16x16 images by splitting a bitmap. |
![]() ![]() |
GetMsBuildPath | Overloaded. Gets the path for MSBuild from the registry under the current hive. |
![]() ![]() |
GuidsArrayFromSemicolonDelimitedStringOfGuids | Gets an array of GUIDs from a semicolon-delimited string. |
![]() ![]() |
IsFileNameInvalid | Determines whether the specified file name is invalid. |
![]() ![]() |
IsInAutomationFunction | Determines whether an extensibility object is currently executing automation code. |
![]() ![]() |
IsSameComObject | Determines whether two objects represent the same COM object. |
![]() ![]() |
IsVisualStudioInDesignMode | Determines whether the design mode context is active. |
![]() ![]() |
RecursivelyCopyDirectory | Copies recursively from the source directory to the target (nonexistent) directory. |
![]() ![]() |
SetStringValueFromConvertedEnum<T> | Sets a string value from an enumeration. |
![]() ![]() |
ValidateFileName | Validates a file path by validating all the parts of the path. If the file name is invalid, it throws an exception if the project is in automation; otherwise it shows a dialog box with the error message. |
Top
.gif)
.gif)