Location 类
注意:此 API 现在已过时。
继承层次结构
Object
Microsoft.Vsa.Vb.CodeDOM.Location
命名空间: Microsoft.Vsa.Vb.CodeDOM
程序集: Microsoft.Vsa.Vb.CodeDOMProcessor(在 Microsoft.Vsa.Vb.CodeDOMProcessor.dll 中)
语法
声明
<GuidAttribute("0D17A350-6585-4f3d-B008-6827EBDE5D85")> _
<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")> _
Public Class Location _
Implements _Location
[GuidAttribute("0D17A350-6585-4f3d-B008-6827EBDE5D85")]
[ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public class Location : _Location
[GuidAttribute(L"0D17A350-6585-4f3d-B008-6827EBDE5D85")]
[ObsoleteAttribute(L"Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public ref class Location : _Location
[<GuidAttribute("0D17A350-6585-4f3d-B008-6827EBDE5D85")>]
[<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
type Location =
class
interface _Location
end
public class Location implements _Location
Location 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
Location |
页首
属性
名称 | 说明 | |
---|---|---|
BeginningColumn | ||
BeginningLine | ||
EndColumn | ||
EndLine |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
Finalize | 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。) | |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。