SPUrlUtility.AllowedProtocols 属性

返回数组的允许 URL 协议。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Shared ReadOnly Property AllowedProtocols As String()
    Get
用法
Dim value As String()

value = SPUrlUtility.AllowedProtocols
public static string[] AllowedProtocols { get; }

属性值

类型:[]
一个字符串数组,其中包含允许的协议。

另请参阅

引用

SPUrlUtility 类

SPUrlUtility 成员

Microsoft.SharePoint.Utilities 命名空间