Skip to main content

AccessModifierExtensions Class

Extensions for converting AccessModifier to and from strings optimally.

Methods

MethodDescription
AsAccessModifier(access)Converts a string to an AccessModifier .
AsString(access)Converts an AccessModifier to a string.

WixToolset.Data.dll version 5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78

AsAccessModifier(access) Method

Converts a string to an AccessModifier .

Declaration

public static AccessModifier AsAccessModifier(
string access
)

Parameters

ParameterTypeDescription
accessstringString value to convert.

Return value

AccessModifier Converted AccessModifier .

AsString(access) Method

Converts an AccessModifier to a string.

Declaration

public static string AsString(
AccessModifier access
)

Parameters

ParameterTypeDescription
accessAccessModifierAccessModifier value to convert.

Return value

string Converted string.