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.1+2f00cbe680fb01ab485d56f16de9cd19b133f875

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.