ProtectPathInfo 构造函数
适用于版本2
初始化 ProtectPathInfo 类的新实例。
命名空间: Microsoft.WebMatrix.Extensibility
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Public Sub New ( _
relativePath As String, _
allowChanges As Boolean, _
allowInNestedFolders As Boolean _
)
用法
Dim relativePath As String
Dim allowChanges As Boolean
Dim allowInNestedFolders As Boolean
Dim instance As New ProtectPathInfo(relativePath, _
allowChanges, allowInNestedFolders)
public ProtectPathInfo(
string relativePath,
bool allowChanges,
bool allowInNestedFolders
)
public:
ProtectPathInfo(
String^ relativePath,
bool allowChanges,
bool allowInNestedFolders
)
new :
relativePath:string *
allowChanges:bool *
allowInNestedFolders:bool -> ProtectPathInfo
public function ProtectPathInfo(
relativePath : String,
allowChanges : boolean,
allowInNestedFolders : boolean
)
参数
relativePath
类型:System.String文件夹或文件的相对路径。
allowChanges
类型:System.Boolean若允许对文件夹或文件进行更改,则为 true;否则为 false。
allowInNestedFolders
类型:System.Boolean如果允许在嵌套文件夹中匹配相对路径,则为 true;否则为 false。